[PHP] including a file

2003-07-02 Thread Blake Schroeder
Hey all I want to include a php located on a different server. Is this possible? If so, what would be the pest way to do it? -- Blake Schroeder [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] newbie question

2003-06-24 Thread Blake Schroeder
T * FROM employees",$db); if ($myrow = mysql_fetch_array($result)) { // display list if there are records to display do { printf("%s %s\n", $PHP_SELF, $myrow["id"], $myrow["first"], $myrow["last"]); } while ($myrow = mysql_fetch_array(

[PHP] php.ini

2003-06-25 Thread Blake Schroeder
I am running a red hat 9 linux box with Apache 1.3.27 with PHP 4 what is the default location for the php.ini file -- Blake Schroeder [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.ini

2003-06-25 Thread Blake Schroeder
Thanks all It is in the /etc. thanks Adam Voigt wrote: /etc probably, just do a "locate php.ini" on the console. On Wed, 2003-06-25 at 10:51, Blake Schroeder wrote: I am running a red hat 9 linux box with Apache 1.3.27 with PHP 4 what is the default location for the php.ini file

[PHP] include question

2003-06-27 Thread Blake Schroeder
Hey all I used to include a perl script via Sever Side Include how could I do this in php? example: -- Blake Schroeder [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] validating email address

2003-12-03 Thread Blake Schroeder
Whats the best way to validate email address (check for white space, check for .com, .net.edu etc) -Blake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What do you say to someone who says...

2003-12-04 Thread Blake Schroeder
AIL PROTECTED]> wrote: What do you say to someone who says: "PHP is just a kiddie language"? (Source: http://www.dhtmlcentral.com/forums/topic.asp?TOPIC_ID=19373) -- +-+-+----+ | Blake Schroeder | Owner/Developer |lhwd.n

Re: [PHP] Re: simple php search

2003-12-05 Thread Blake Schroeder
basically i just want to search a mysql database by someones surname. cheers! -- +-+-+----+ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http://www.lhwd.net)+--/3174026352\--+ -- PHP General Mailing List (ht

Re: [PHP] PHP-Mysql problem

2003-12-11 Thread Blake Schroeder
Black Mesa Computers/Internet Service Grants, NM 87020 -- +-+-+----+ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http://www.lhwd.net)+--/3174026352\--+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] Links of Tables from other DB

2003-12-18 Thread Blake Schroeder
Many Thanks in advance. Regards, ERWIN __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- +-+-+----+ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http

Re: [PHP] File upload problem

2003-12-18 Thread Blake Schroeder
("Impossibile spostare il file, controlla l'esistenza o i permessi della directory dove fare l'upload."); } else { die("Problemi nell'upload del file " . $_FILES["upfile"]["name"]); } echo "L'upload del file " . $_FILES["upfile"]["name"] .

Re: [PHP] best way to specify path to a file in a $variable?

2003-12-30 Thread Blake Schroeder
le works. I have tried some experiments with a $path_to_css variable, but I have not had much success. I think part of the problem is that I might be stumbling over escaping everything properly. Is there a better way to do what I am trying to do? Thanks, Danny -- +-+---

Re: [PHP] upload picture

2004-01-07 Thread Blake Schroeder
ng php? I have this but don't know how to specify how to store the pictures on the server... thanks! thanks Matt -- +-+-++ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http://www.lhwd.net)+--/3174026352\--+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] upload picture

2004-01-07 Thread Blake Schroeder
Matt -- +-+-+----+ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http://www.lhwd.net)+--/3174026352\--+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] learning to right objects

2004-08-11 Thread Blake Schroeder
m1->bar1; $bar2 = $num2->bar2; echo"Hi\n"; echo"$bar1\n"; echo"$bar2\n"; -- +-----+-++ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http://www.lhwd.net)+--/ \--+ -- PHP General Mai

Re: [PHP] learning to right objects

2004-08-11 Thread Blake Schroeder
Justin Thank you now I have a working example to go from. Justin Patrin wrote: On Wed, 11 Aug 2004 16:35:33 -0500, Blake Schroeder <[EMAIL PROTECTED]> wrote: I am trying to change some of my functions in to classes and objects. I have been checking out the php.net and google and sti

Re: [PHP] How do you read one of these parameters?

2005-02-11 Thread Blake Schroeder
' > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- +-+ |Blake Schroeder | Owner/Developer | www.lhwd.net| +---(http://www.lhwd.net)---+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] protecting web page

2004-05-05 Thread Blake Schroeder
e too. Sure unplug your network cable. -- +-+-+----+ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http://www.lhwd.net)+--/3174026352\--+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

[PHP] an array question

2004-05-20 Thread Blake Schroeder
What is wrong with whis syntax: $array = array("$_POST['input_1']","$_POST['input_2']"); -- +-+-----++ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http://www.lhwd.net)+--/

Re: [PHP] Update problem

2004-06-07 Thread Blake Schroeder
The form that is being submitted can only be a POST or a GET not both example: How can you do both? -Blake Maldiv wrote: Hello, I have a php update form which use $_POST and $_GET too. I call the update like this update.php?id=1 And after the user submit the form with new data I use command lik

Re: [PHP] Update problem

2004-06-07 Thread Blake Schroeder
Put a hidden field in your form named id. -Blake Blake Schroeder wrote: The form that is being submitted can only be a POST or a GET not both example: How can you do both? -Blake Maldiv wrote: Hello, I have a php update form which use $_POST and $_GET too. I call the update like this

[PHP] a stupid question

2004-06-24 Thread Blake Schroeder
Hey I cant figureout the syntax please help echo "Some text".aFunction()."some more text"; The function is not working. Thanks -B -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] a stupid question

2004-06-24 Thread Blake Schroeder
The following code works: echo "Some text"; aFunction(); echo "Some more text"; -B Matt Matijevich wrote: [snip] echo "Some text".aFunction()."some more text"; [/snip] Have you checked to see if aFunction() is returning anything? . -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] a stupid question

2004-06-25 Thread Blake Schroeder
Everyone Thank you for all the great feedback. Since my function doesnt return data it just echos it to the browser. When I use this format it does not display correctly echo "some text" . aFunction() . "some more text"; If I use the orginal code it displays fine. echo "Some text"; aFunction();

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread Blake Schroeder
as experimental... Basicly, this would get currupt? (wierd-var-test.php) Or are there some other details I've missed? -- +-+-+----+ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http://www.lhwd.net)+--/31740

Re: [PHP] Re: Weird variable issue encountered... help needed!

2004-04-05 Thread Blake Schroeder
s I've missed? -- +-+-+----+ | Blake Schroeder | Owner/Developer |lhwd.net| +--(http://www.lhwd.net)+--/3174026352\--+ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php