Page 1 of 1

Can someone help me?

Posted: Sat Feb 05, 2005 4:11 am
by syschat
Hello evryone!,
I am looking to do the following in php, and I have little php experience, however, I have done alot of C++. Anyways, here is what I want to do:

1) Create a form for people to submit information: Make a basic page with the following text boxes:

F_Name
L_Name
eMail
City
State
etc.....

2) Email me to approve or disapprove: It will show me the information that was typed in the register form. Possibly give 2 links in my email, disapprove or approve.

3) Copy files from on directory to a new directory: make a directory based on one of the fields in the registration after I approve it. Then copy a directory to this new folder.

4) Edit some .php files, based on some variables: Open a few php files, and find where variables are defined, and edit that

5) Insert some mySQL tables: Self explanitory

I was wondering a few things, can this be done in php? How do you think it will take me? Do you guys have any suggestions, tutorials or comments on how I should do this? Lastly, how much will someone do this for? Any comments greatly appreciated!

THANX!
-Chris

Posted: Sat Feb 05, 2005 4:48 am
by djot
-
Hi,
I was wondering a few things, can this be done in php?
Yes.
How do you think it will take me?
How... long? Depends on your php knowledge and other (not mentioned?) requirements of your project. I guess I would need a few hours to maximum one day.
Do you guys have any suggestions, tutorials or comments on how I should do this?
So where exactly is your problem or your knowledge lack?
Lastly, how much will someone do this for?
Please post your requirements again, more detailed this time.
I am sure someone will do it on per hour basis or for a fixed price.

djot
-

Posted: Sat Feb 05, 2005 5:07 am
by syschat
Sry bout that, I edited the post, gave it some more detail. Im kinda lacking in evrything, if you have any tutorials or help or examples on any of these subjects, it would be much appreciated.

Thanx
-Chris

Posted: Sat Feb 05, 2005 7:33 am
by feyd

Posted: Sat Feb 05, 2005 8:37 am
by PrObLeM
i have a good idea that is easyer and will save space:

instead of copying files to a new directory (which im assuming your going to be making possiblly by the name of the person) make a symbolic link to a base folder. then have the php file read what symbolic "folder" it is in and base the information off that.

Code: Select all

їSYMBOLIC LINKS]
                                  |<-=-User
                                  |<-=-User
&#1111;main folder]<--------------------|<-=-User
    -phpfile.php                  |<-=-User
                                  |<-=-User
                                  |<-=-User
                                  |<-=-User


Funcitons you will need to complete this
http://www.php.net/symlink
http://www.php.net/dirname
http://www.php.net/sizeof
http://www.php.net/explode
http://www.php.net/strpos

oh to delete symlinks use unset();

Posted: Sat Feb 05, 2005 11:57 am
by syschat
Thanx for all the suggestions!! Problem - thenks for the suggestion, but I kinda need to edit each one diffrently.

THANX AGAIN!