Can someone help me?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
syschat
Forum Newbie
Posts: 4
Joined: Sat Feb 05, 2005 4:06 am
Location: Texas, USA

Can someone help me?

Post 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
Last edited by syschat on Sat Feb 05, 2005 5:05 am, edited 1 time in total.
djot
Forum Contributor
Posts: 313
Joined: Wed Jan 14, 2004 10:21 am
Location: planet earth
Contact:

Post 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
-
syschat
Forum Newbie
Posts: 4
Joined: Sat Feb 05, 2005 4:06 am
Location: Texas, USA

Post 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
User avatar
PrObLeM
Forum Contributor
Posts: 418
Joined: Sun Mar 07, 2004 2:30 pm
Location: Mesa, AZ
Contact:

Post 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();
syschat
Forum Newbie
Posts: 4
Joined: Sat Feb 05, 2005 4:06 am
Location: Texas, USA

Post by syschat »

Thanx for all the suggestions!! Problem - thenks for the suggestion, but I kinda need to edit each one diffrently.

THANX AGAIN!
Post Reply