[PHP] need advice on a free DB hosting site
hi hello everyone im stil new here i just want some advice...now im working on a database install script in phpjust a simple one... i just need to test it online thats why i need advice on a database hosting site that is free.. that also i can activate it with a username and password, can create database or just select it.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] test
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] to get time
hello im still new to php i just want to know how can u get the only the time of ur local server -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] can any one help me on this
Warning:session_start():Canot send session cache limiter - headers already sent help me i dont understand this warning... but the program still works... thanks in advance... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] FW: Need example of Next 5
Hi, I am looking for an example in php/MySql dealing with Next 5 type of queries ..does anyone have any links? Thank you for your help Pax -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] I can't find the problem - parsing error
I have the following line of code: $this-html=$this_html + tr td bgcolor=\$type_color\ class=\copy\ width=\10\ -- this line div align=\center\ ... /td /tr ; I get Warning: unexpected character in input '\' (ASCII=92) state=1 And Parse Error in the same line..I am just sitting and looking at that line and can't find the problem..can anyone see the problem? Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] REG_ECTYPE warning and eregi??
Hi All, First I would like to thank you all for help with my previous questions. I am still newbie but I learning and hopefully one day, I will be able to pay it back. I am getting the REG_ECTYPE warning in the following line which verifies email address: If (eregi(^([[:alnum:]]|_|\.|-)+@([[:alnum:]]|\.|-)+(\.)([a-z]{2,4}}$, $HTTP_POST_VARS[email])) { $e=TRUE; } else { $e=FALSE; } . Page is being completed and displayed but the warning is being displayed at the top op the page?? Also not matter what type of email I will enter, it does not pass this check point .. I know I must be blind .. Thank you Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] REG_ECTYPE warning and eregi??
Thanks Kevin, Actually - it is my mistake while retyping the text since my development machine has no email - it is ) and I tried again and I do get this error in this line :-((( If (eregi(^([[:alnum:]]|_|\.|-)+@([[:alnum:]]|\.|-)+(\.)([a-z]{2,4})$,$HT TP_POST_VARS[email])) { } Paul -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 6:28 PM To: 'Pax'; [EMAIL PROTECTED] Subject: RE: [PHP] REG_ECTYPE warning and eregi?? I didn't get a REG_ECTYPE warning but I did get a REG_PAREN type warning. The curly bracket '}' near the '$' should be an close parentheses ')'. :) -Kevin -Original Message- From: Pax [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 3:33 PM To: [EMAIL PROTECTED] Subject: [PHP] REG_ECTYPE warning and eregi?? Hi All, First I would like to thank you all for help with my previous questions. I am still newbie but I learning and hopefully one day, I will be able to pay it back. I am getting the REG_ECTYPE warning in the following line which verifies email address: If (eregi(^([[:alnum:]]|_|\.|-)+@([[:alnum:]]|\.|-)+(\.)([a-z]{2,4}}$, $HTTP_POST_VARS[email])) { $e=TRUE; } else { $e=FALSE; } . Page is being completed and displayed but the warning is being displayed at the top op the page?? Also not matter what type of email I will enter, it does not pass this check point .. I know I must be blind .. Thank you Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] includes and variables
I am trying to separate html from php code. For more complicated pages I intend to generate classes..but before I start doing that is there a quick way to include html code that contains variables ? if the main page has already defined those variables, are they going to be automatically replaced? In the above situation does the file to be included needs to contain ? ? ? Thanks Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] includes and variables
Tks Martin, I guess I am doing something wrong.. I have the main document like that $var1=11; $vae2=22; $table_html= require_once(includes/table1.php); table1.php ? table tr ..td$var1/td /tr /table ? I know my variables are not being parsed..plus the table definition is being placed I only want use those files for portions of html..I know it must be something simple.. Paul -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 26, 2002 5:30 PM To: 'Pax'; [EMAIL PROTECTED] Subject: RE: [PHP] includes and variables think of an included file as if it were part of the parent code. so file1.php ? echo $foobar; ? file2.php ? $foobar = hello world; include file1.php; ? file2.php would basically be: ? $foobar = hello world; echo $foobar; ? HTH Martin -Original Message- From: Pax [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 9:24 AM To: [EMAIL PROTECTED] Subject: [PHP] includes and variables I am trying to separate html from php code. For more complicated pages I intend to generate classes..but before I start doing that is there a quick way to include html code that contains variables ? if the main page has already defined those variables, are they going to be automatically replaced? In the above situation does the file to be included needs to contain ? ? ? Thanks Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] ? re phpwebhosting.com - still in business??
Does anyone know if phpwebhosting.com is still in business? I have sent them 2 sales inquiries and nothing happened so far for last 4-5 days and I also left them a message. I guess I got to the point that I need to move on..since this company cannot even answer sales inquiries... Pax -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] using PHP to access another site - stock quotes ??
Hi, I am developing site that needs to have stock quotes retrieved and placed into the database. Perhaps someone know if there is a site that would supply me with quotes? - I just do not want to do it manually :-(( I guess I could setup a cron job to run @ midnight and update quotes for selected stocks but I am not sure where to access quotes - any pointers? Thanks Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] session_id()
I am newbie here.. I am curious has session_id() the same implementation is SID constant? Do they produce the same result? I have page let's say login.php that where SID is not being parsed by PHP and I am trying to find the cause behind (using PHP4) $sid_value= .SID; header(location:index.php?error_message=$message$sid_value I get the following url: http://localhost/index.php?error_message=message+goes+here.SID I actually get .SID and the end and not SID value? any thoughts? I am sorry for asking but I am completely new to PHP.. Thanks Pax -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php