[php-list] Re: Figured out the symlink, but problems

2005-08-05 Thread Marian Briones
--- In php-list@yahoogroups.com, Pete <[EMAIL PROTECTED]> wrote: > In message <[EMAIL PROTECTED]>, Marian Briones > <[EMAIL PROTECTED]> writes > >The way people would come upon this page is by typing something like: > > > >www.somedomain.com/cat > > > >cat would be a symlink to a php page that woul

Re: [php-list] Re: how to ascertain no of links on web site

2005-08-05 Thread Pete
In message <[EMAIL PROTECTED]>, Marian Briones <[EMAIL PROTECTED]> writes >I would think you'd do something like read a directory then count each >file name and spit it out in a count variable. I think that you would have to ask if the php code is on xyz.com, or if Mukesh is trying to read someon

Re: [php-list] Re: Figured out the symlink, but problems

2005-08-05 Thread Pete
In message <[EMAIL PROTECTED]>, Marian Briones <[EMAIL PROTECTED]> writes >The way people would come upon this page is by typing something like: > >www.somedomain.com/cat > >cat would be a symlink to a php page that would bring in 'cat's >information from the database, hence displaying cat's 'web p

[php-list] Re: how to ascertain no of links on web site

2005-08-05 Thread Marian Briones
I would think you'd do something like read a directory then count each file name and spit it out in a count variable. Maybe this is elementary, but I'm thinking something like $count=0; $direcotryObject = dir("/home/someuser/public_html/files"); print "Files:\n"; while ($fileName = $dorectpruPb

[php-list] Re: Figured out the symlink, but problems

2005-08-05 Thread Marian Briones
The way people would come upon this page is by typing something like: www.somedomain.com/cat cat would be a symlink to a php page that would bring in 'cat's information from the database, hence displaying cat's 'web page.' I thought this would be pretty cut and dried but as usual, I am wrong. -

Re: [php-list] Creating a form

2005-08-05 Thread Pete
In message <[EMAIL PROTECTED]>, Nick Vettese <[EMAIL PROTECTED]> writes >The problem is that when the final page comes, and >they hit the submit button, it only emails the last >page. Carry the info from P1 and P2 to P3 in sessions? >Also, a bonus quesiton... If I want to add an upload >for pi

Re: [php-list] Creating a form

2005-08-05 Thread James Keeline
--- Mike Franks <[EMAIL PROTECTED]> wrote: > I don't know of any way for a single form (the html > construct) to span pages. On page can have many forms, but no form can > physically span pages. Your technique is a good one and probably the most straightforward. There are other approaches whic

Re: [php-list] Creating a form

2005-08-05 Thread Mike Franks
On 8/5/2005, "Nick Vettese" <[EMAIL PROTECTED]> wrote: > > > >I am currently working on my site, and I have three forms for people to fill out, but I would rather have them fill out the forms in one shot. The problem is that when the final page comes, and they hit the submit button, it only emai

Re: [php-list] Creating a form

2005-08-05 Thread Wade Smart
08052005 1201 GMT-5 Nick, Im thinking you need to put everything from page one and two in either a cookie or a session variable and on the final page, recall that data and post it all in a email. Wade On Fri, 2005-08-05 at 07:56 -0700, Nick Vettese wrote: > I am currently working on my site, an

[php-list] Creating a form

2005-08-05 Thread Nick Vettese
I am currently working on my site, and I have three forms for people to fill out, but I would rather have them fill out the forms in one shot. The problem is that when the final page comes, and they hit the submit button, it only emails the last page. I am not using a DB at this time (that wi

Re: [php-list] Re: Figured out the symlink, but problems

2005-08-05 Thread James Keeline
--- Marian Briones <[EMAIL PROTECTED]> wrote: > That didn't work either. > > I don't know what to do. > > If I can figure out a way to pass the directory name to an index.php > page in a directory I'm pointing to that would enable me to have the > php gather the info out of my database You ha

Re: [php-list] Session user becoming another user "Morphing?" - SOLVED

2005-08-05 Thread lance
Thanks for the input all. I soved this problem by placing all database queries into their own functions and that seems to have solved the session morphing into the last person from the individual database queries. Thanks for the help! Lance [Non-text portions of this message have been removed

[php-list] Re: Figured out the symlink, but problems

2005-08-05 Thread Marian Briones
That didn't work either. I don't know what to do. If I can figure out a way to pass the directory name to an index.php page in a directory I'm pointing to that would enable me to have the php gather the info out of my database (slamming head hard on desk) --- In php-list@yahoogroups.com, James

[php-list] Re: Figured out the symlink, but problems

2005-08-05 Thread Marian Briones
I'm going to try this, but what I did in the interim, just for fun, was make the symlink point to an existing directory. It then gave me a directory listing, and if I plunked an index page in there, well it will probably kick that out. But how can I pass the variable about that person to that ind

Re: [php-list] Figured out the symlink, but problems

2005-08-05 Thread James Keeline
--- Marian Briones <[EMAIL PROTECTED]> wrote: > I figured out the symlink, but when I go to that in my browser, I > don't see a web page. I see the code to create a web page. I need to > see a web page. HELP! "code to creat a web page" ? PHP or HTML code? If it is the latter, it is possibl

Re: [php-list] Correct syntax for making a symlink

2005-08-05 Thread James Keeline
--- Marian Briones <[EMAIL PROTECTED]> wrote: > I think I'm trashing the idea of making directories for my membership > site in favor of making a symlink instead if I can get it to emulate > that. Thing is, I can't find the proper syntax for making a symlink > with php. > > What I'm thinking is

[php-list] Figured out the symlink, but problems

2005-08-05 Thread Marian Briones
I figured out the symlink, but when I go to that in my browser, I don't see a web page. I see the code to create a web page. I need to see a web page. HELP! Yahoo! Groups Sponsor ~--> http://us.ard.yahoo.com/SIG=12hhdfkep/M=362335.6886445.783973

[php-list] Correct syntax for making a symlink

2005-08-05 Thread Marian Briones
I think I'm trashing the idea of making directories for my membership site in favor of making a symlink instead if I can get it to emulate that. Thing is, I can't find the proper syntax for making a symlink with php. What I'm thinking is that it will link to a page that will bring up the user's i