RE: [PHP] Namespaces in PHP

2004-03-29 Thread Frank Tudor
--- Robert Cummings <[EMAIL PROTECTED]> wrote: > On Mon, 2004-03-29 at 18:42, Justin Palmer wrote: > > Hi, > > > > I just don't see it as a "namespace ideology", it is just how objects > > work. I know that he knows that it is encapsulation. My point being > > that it should not really be calle

[PHP] Local sysadmin DFW needed

2004-03-23 Thread Frank Tudor
Hi folks, Sorry for the inturruption. I'm looking for a part time sysadmin in the DFW area. If anyone wants to pick up some hours drop me your resume. Here is what I need, someone who can do: Redhat, PHP, Mysql, Perl, sendmail, creating and maintaining users and permissions, virtual hosts, sam

Re: [PHP] Googlebot

2004-01-27 Thread Frank Tudor
That's not very helpful. I am also curious about this. Anyone have a more thought provoking answer? Frank --- Raditha Dissanayake <[EMAIL PROTECTED]> wrote: > If you read the pages on google you will know the answer. > > Hartley, Matt wrote: > > >Is Googlebot (or any other bot) able to follow

[PHP] random question generation

2003-12-01 Thread Frank Tudor
I am building an application that has course material and one of the requirments is that questions related to course material pop up randomly in relation to the question bank and to time. So if there are 15 pages in a section and four questions need to populate somewhere after page 1 before the

[PHP] Timer and submit button

2003-11-21 Thread Frank Tudor
I am trying to create a timer tha would prevent someone from clicking submit until the timer reaches zero. THe reason is to keep an individual on a page for a certain amount of time. Does anyone know the best way to do this? PHP? Javascript? Any examples? Frank __

[PHP] Question about video (PHP unrealted)

2003-11-19 Thread Frank Tudor
I know this is bad but this is the only listserver/newgroup thingy I use because I am php challenged. Any how, I want to embed windows media player in my php pages (which I have done successfully), but I need help: I was wondering which is the best format for demand downloading of video files (no

[PHP] Posting variable in url

2003-10-29 Thread Frank Tudor
I have a redirect that if conditions are right it will pass the user to a new page via $_POST. so for instance the redirect looks like this: header("Location: more_registration.php?username=".$_POST["username"]."&email=".$_POST["email"]); the url will look like this: http://ftudor/test/more_reg

[PHP] revised query problem (sorry)

2003-10-28 Thread Frank Tudor
$query="SELECT payment FROM payment WHERE payment.dln='".$_POST["dln"]."' = users.dln='".$_POST["dln"]."' and payment.payment='".$_POST["payment"]."'"; Will this work? Frank __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/pr

[PHP] Possible query problem

2003-10-28 Thread Frank Tudor
Yestery day I got help from several of you on my function. I tried to get complicated today and so here it is. I am working on a peice of code where if a condition of a database entery is 0 then it will take you to one page if it is one it will take you to another page. Here is the function: $p

RE: [PHP] Re: function help simple redirect

2003-10-27 Thread Frank Tudor
Shit! payment(); WORKS! Thank for teach me how to do a function guys!!! Frank --- Frank Tudor <[EMAIL PROTECTED]> wrote: > Oh?!?! > > Sweet! thanks... let me try that and get back to the group > > :) > > > --- Pablo Gosse <[EMAIL PROTECTED]> wrote: &

RE: [PHP] Re: function help simple redirect

2003-10-27 Thread Frank Tudor
Oh?!?! Sweet! thanks... let me try that and get back to the group :) --- Pablo Gosse <[EMAIL PROTECTED]> wrote: > On Monday, October 27, 2003 11:26 AM, Frank Tudor wrote: > > > This one worked (kinda) > > I have no more errors but it doesn't do the redire

Re: [PHP] Re: function help simple redirect

2003-10-27 Thread Frank Tudor
I get my ugly purple test page :) Frank --- Chris Shiflett <[EMAIL PROTECTED]> wrote: > --- Frank Tudor <[EMAIL PROTECTED]> wrote: > > I am putting in the $payment="1"; so it will automatically > go to > > test_page2.html but it just sits there. >

Re: [PHP] Re: function help simple redirect

2003-10-27 Thread Frank Tudor
This one worked (kinda) I have no more errors but it doesn't do the redirect (hmmm)?? So now here is what it looks like: I am putting in the $payment="1"; so it will automatically go to test_page2.html but it just sits there. Is there a headers thing already going on blocking this? I know

Re: [PHP] RE: function help redirect help

2003-10-27 Thread Frank Tudor
I made the changes but I am getting: Parse error: parse error, unexpected T_ELSEIF I did take the second global statement out after I cut and pasted your code and modified the urls so now here is what it looks like (the whole thing). Frank http://ftudor/test/test_page.html'); } elsei

[PHP] RE: function help simple redirect

2003-10-27 Thread Frank Tudor
Sorry I'm getting this error message Parse error: parse error, unexpected T_ELSEIF __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] RE: function help redirect help

2003-10-27 Thread Frank Tudor
Here is what Ihave I am getting a elseif parse error. Is there something I'm leaving out? Frank code --- $payment = "1"; function payment(){ global $payment; if ($payment == "0"); header ("location:test_page.html"); } global $payment; elseif ($payment == "1") { header ("location:test_pag

[PHP] RE: function help redirect help

2003-10-27 Thread Frank Tudor
$payment = "1"; function payment(){ global $payment; if ($payment == "0"); header ("location:test_page.html"); } global $payment; elseif ($payment == "1") { header ("location:test_page2.html"); } __ Do you Yahoo!? The New Yahoo! Shopping - with improved product se

[PHP] function problem (simple redirect)

2003-10-27 Thread Frank Tudor
I'm trying to make this function work, but I'm not good at functions. I have created a variable for testing payment equal to 1 or 0 to see what would happen based on whatever the condition is in my database (the sql stuff is not here because i have to figure this thing out first). I get a t_strin

[PHP] .htaccess question protect my php test environment

2003-10-24 Thread Frank Tudor
I have to apologies about this posting in advance so please don't flame me too bad for being off topic. Question: I want to create an .htaccess file to protect my files I did the passwrd -c /directory/file frank the set a password and then confirmed the password I created a .htaccess file with

Re: [PHP] Error Handling

2003-10-17 Thread Frank Tudor
Interjinn looks great but my development box is a windows me machine with easyphp (globals turned off) How am I supposes to get this stuff to work. I actually just unzipped it to my www dir and it has been sitting there the whole day. and I still have my vailidation (form handling) problem. I w

[PHP] Error Handling

2003-10-17 Thread Frank Tudor
I have found some great code that handles errors through PHP_SELF However I have radio buttons and drop down selections that I cannot do a $_POST (the POST only works on my text fields). Does someone have some sample code that can check for errors on a drop down selection or radio buttons and the

[PHP] session question

2003-10-14 Thread Frank Tudor
How do you make a session time out? and how do you make a session end if a person leaves your site? Frank __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] Re: Pulling variables from a URL(thanks)

2003-10-14 Thread Frank Tudor
Thanks eveyone for all the info. I got it working! :) Frank --- Gabriel Peugnet <[EMAIL PROTECTED]> wrote: > Every body have already gave you the answers. > Just one more thing: > > the method you are useing is GET because you are passing > variables in the > URL so use of $_POST doesn't work

[PHP] Pulling variables from a URL

2003-10-14 Thread Frank Tudor
I have a URL including variables... It looks like this: http://registration.php?username=11&[EMAIL PROTECTED] But I can't pullit into the next page's form Here is what is in the form and other things I have tried: $username = $_HTTP_POST_VARS['username']; echo $_GET['$username']; echo $_

[PHP] variables passed through URL

2003-10-09 Thread Frank Tudor
If I have have set a url to be displayed like this: www.mysite.com/some_page.php?value=this and wanted to tag on another value what would I seperate the dtwo with/ Also since it is now displayed in the url and I need the value in some area on my form. How would I populate the value in a form tag

[PHP] Re: [PHP-WIN] Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
? or when the php libary was built? Frank --- Frank Tudor <[EMAIL PROTECTED]> wrote: > Thanks for the response. > > Ok with php.ini in the ect directory I get a > > Call to undefined function: mysql_connect() > > Without the php.ini file all my functions fail, b

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
e the php.ini and frankly I'm not sure where the php stuff is defined in apache), because before the php.ini files ended up in the etc directory I had to modify it from the php.ini-dist from the common lib directory. does this help? Frank --- John Nichel <[EMAIL PROTECTED]> wrote: >

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
t failes when i restart my web seerver in the httpd-perl.conf file Frank --- John Nichel <[EMAIL PROTECTED]> wrote: > Frank Tudor wrote: > > >>It worked like a charmbut guess what. I can't create a > >>connection string to my database. Now I have

Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
ing in php.ini > > Frank Tudor wrote: > > > I can run mysql from a command line. > > > > What I create a connection string using my php.ini file I > get > > > > failure. mysql_connect() errors > > > > My connection string code is very simple: &g

RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I can run mysql from a command line. What I create a connection string using my php.ini file I get failure. mysql_connect() errors My connection string code is very simple: "; $result2 = mysql_list_tables($db_data[0]); $num_rows2 = mysql_num_rows($result2);

[PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I'm forwarding this from the php-windows group. (I sent it to both with the hopes someone with information would see this). > I have installed Mandrake Linux and it comes standard with > Apache PHP and MySQL. You can install all these rpms through > the server selectionAnyway. > > In my test

[PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I have installed Mandrake Linux and it comes standard with Apache PHP and MySQL. You can install all these rpms through the server selectionAnyway. In my test environment it is function city and of course register globals were on. Now I have Taked my PHP.INI-DIST set the globals to on and c

[PHP] PHP and MYSQL don't shake hands

2003-09-18 Thread Frank Tudor
Guys, I have moved from a foxserv(apache, php, mysql, all in one install tool) windows test environment to a Linux apache php mysql setup specifically mandrake linux production server. The problem I am having is that when I try to pass values to the database the php fails. I think I have singled

[PHP] globals on globals off (help

2003-09-16 Thread Frank Tudor
This is more for a linux group post but I know someone can provide enlightenment on this issue. I have the latest version of apache and php I have created my entire sie in a foxserv environment on windows but my production environment is on mandrake linux 9.1 The globals are set to off but i'll b