[PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Shane
Greetings gang. You know me, I never ask for help if I haven't checked all my other options, but this is day two, and I'm getting spanked on this one. Some recently moved scripts from a WIN2K server running PHP 4.2.1 to an Apache PHP 4.2.3 setup have stop accepting HTML Form Variables. I can p

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Shane
> I can pass variables till I am blue in the face, even > see them in the URL but they are still showing up as (!isset) Are you accessing these variables through $var or $_GET["var"]? I am accessing them as $var. Example (from memory) if(!isset($var)){ // do nothing }else{ // VAR IS SET.. DO S

RE: [PHP] Pls Help: Moving script from Win to Linux

2002-12-10 Thread Shane
/manual/en/language.variables.predefined.php - Original Message - From: "Shane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 10, 2002 11:08 AM Subject: [PHP] Pls Help: Moving script from Win to Linux Greetings gang. You know me, I never ask

[PHP] In Need of a PHP freelancer...

2003-02-04 Thread Shane
-Original Message- Greetings... I am in need of a freelancer to write an additional function to our company's extranet. Before I go and post a request to this list, I would like to know if there is a more appropriate place to post such a request, and still get quality folks who know thei

[PHP] HELP: COM(CDO.Message)HTML vs TEXT

2002-07-23 Thread Shane
Greetings PHPers. For those of you with MS COM experience or those who want to know how to send a MULTI MIME type message read on. I'm trying to find out the syntax for sending an HTMLbody and TEXTbody in the same message thus making it a TRUE MULTI message. (see code) This is what I have... w

RE: [PHP] HELP: COM(CDO.Message)(SOLVED!!!)

2002-07-23 Thread Shane
Placing the line $message->TEXTBody = "This is my plain Text Body!" AFTER your HTMLBody tag did the trick. Try it out Solved my own problem, but I hope this helps someone else out. -Original Message- From: Shane Sent: Tuesday, July 23, 2002 12:21 PM To: [EMAIL PROTE

[PHP] MySQL equivalent to append?

2002-07-23 Thread Shane
Greetings, is there a mySQL syntax command equivalent to appending information to a text record. If I wanted to add an email value to a text record that already has an email value in it, is there a faster way to do this than reading the original value, combining the new value to it, and then r

[PHP] Help with fopen please.

2002-07-31 Thread Shane
Looked in the archive and manual and came up with no luck, so here it goes. My end result is to save the output of a PHP script as an HTML file in a specified directory on a WIN2K server. my script is such... http://myserver.net/extranet/archive.php?jobid=1";; $fd = fopen( $filename, "r" );

[PHP] Best way to save?

2002-08-01 Thread Shane
Besides using fOpen to save the output of a script to a file, What would be your best recommendation for a way to save the output of a PHP script to an HTML doc. Images will be included. Thanks gang. - NorthBayShane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

[PHP] Favorite Calendar Anyone?

2002-08-01 Thread Shane
Anyone have a favorite Calendar script out there they would like to share? - NorthBayShane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HELP with fOpen

2002-08-02 Thread Shane
No lock in the archives, so here it goes... Greetings all, I am using fOpen to try and create a new file in a local directory on a remote server. Each time I run my script is says "PERMISSION DENIED" but the sys admin swears the entire directory is set to 777. Does anyone know if a setting has

RE: [PHP] PHP and MySQL

2002-08-02 Thread Shane
-Original Message- here any way to speed up MySQL queries? -- Sure, ask for only the data you need. or halt your query when you have what you need. HTH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Email failure????

2002-08-02 Thread Shane
Yes Scott, I get that too. But hey, it's friday! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Pls Help: Quickie: set_time_limit

2002-08-13 Thread Shane
Question friends...Sorry to bug, but the documentation wasn't too clear. When using set_time_limit() to override the default PHP time limit. Is this syntax tacked on to the end of a QUERY? ALA mysql_select_db("files", $db, set_time_limit("0")); I have an upload page that is farting out whe

[PHP] UPS Ship Rates avail? XML?

2002-08-21 Thread Shane
Anyone know if there is a place I can query US shipping rates from say UPS or FedEx? Possibly through Amazon's API? Thanks in Advance!!! -NorthBayShane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Simple one... Please look.

2002-08-30 Thread Shane
Greetings. Can someone please enlighten me on the best way to get information from a comma delimited file, to a variable? Example. A client updates a comma delimited list of names to a directory on a server, my script would need to read in the entire list and turn it into a variable. Once it i

[PHP] Easy Function Question?

2002-09-10 Thread Shane
I have a need to call a function, where all the variables used might not be set. Is there a way to have a variable in a function have a default setting if the variable passed to the function is VOID? EXAMPLE: $name="me"; $phone=""; //$zip is VOID function myFunction($name, $phone, $zip){

RE: [PHP] Easy Function Question?

2002-09-10 Thread Shane
-Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 5:14 PM To: Shane; [EMAIL PROTECTED] Subject: RE: [PHP] Easy Function Question? function myFunction($name, $phone, $zip=""){ echo $name.$phone.$zip } is the corrent format, but

[PHP] MUST READ: ALL MySQL Newbies!

2002-09-19 Thread Shane
If you are a MySQL newbie you need to read this! I just screwed up big time and lost about 1 hour of data in a time sensitive application by using TINYINT as my ID field. TINYINT will only allow up to 255 records in a MySQL DB. Please, if you don't know the EXACT differences between all the di

[PHP] HELP: Carriage returns don't display in HTML

2002-09-27 Thread Shane
Greetings folks. I need my carriage returns to show up in my HTML output from my text form field. There is a JavaScript function that will convert carriage return to tags, but is there a PHP function that will add or tags to a text form field in place of the carriage returns a user might ad

[PHP] String Help PLEASE!

2002-10-08 Thread Shane
Greetings gang, this should be an easy one but it's kicking my butt today. I need to build a member number in the format of -00- from an auto increment ID field from my DB. I can get the last ID value easy enough, but how the heck can I tag the new ID on to the end of the string -0

[PHP] HTML file to a $var: Pls Help

2002-10-25 Thread Shane
Any way to plug an entire HTML file into a variable? I looked into file_get_contents() but that was CVS format only. I need to take a simple HTML file and pass it as a string variable to a mail function. Any help? Thanks crew. - NorthBayShane -- PHP General Mailing List (http://www.php.net/) T

[PHP] Thumbnails from mySQL binary data

2002-06-12 Thread Shane
Greetings, I just started playing with the GD functions. (FUN!!!) And I am looking for advice or scripts on how to turn binary data from my DB into thumbnails. I understand how to make thumbnails from existing images already "sitting in a directory," but how can I get a scaled image to be made

[PHP] RE: Thumbnails from mySQL binary data

2002-06-12 Thread Shane
, and just make them wait for the server side code to crunch? Thanks again group!!! - NorthBayShane -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 12:56 PM To: Shane Cc: php Subject: Re: Thumbnails from mySQL binary data start with this

[PHP] GD imagecreatefromstring ADVICE??

2002-06-12 Thread Shane
Anyone have any opinions or real world experience using the function "imagecreatefromstring?" Not much out there on the web? I am looking for the best method for making "thumbnails" from my binary DB data. Thanks again group!!! - NorthBayShane -- PHP General Mailing List (http://www.php.net/)

[PHP] GD Questions: Please help.

2002-06-13 Thread Shane
Greetings fellow PHPers. I am learning basic GD functionality and I have a few YES/NO questions to ask. This should only take a few seconds of your time. PLEASE HELP! So far I have seen several tutorials on creating graphics on the fly. In each example the either send the image (by itself) to a

RE: [PHP] GD Questions: Please help.

2002-06-13 Thread Shane
code snippets it would spit back the necessary image each time. H Is there a better way? -Original Message- From: Kevin Stone [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 1:34 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] GD Questions: Please help. Shane, absolutely yo

[PHP] Image GD Wizardry!

2002-06-26 Thread Shane
One would think that pulling binary data from a DB using the function imageCreateFromString would allow you to output that string to any format. (GIF JPEG PNG) or whatever is supported by your version of GD. But this code flakes out and creates no image if it reads from a binary file made by a

[PHP] Best Delete Confirmation Script

2002-06-27 Thread Shane
Greetings. I would like your opinions on the best way to implement an "Are You Sure You Want To Do This?" dialog for an Admin user when they go to delete a record in a DB. Do you find that a whole page is usually required for this, or does anyone have any nice pop up solutions for such a query

[PHP] mySQL time = year 2038 [HELP]

2002-07-01 Thread Shane
Checked the archive and saw no difinitives... so... How come when I query my clients mySQL DB and use NULL or NOW() as my default in a TIMESTAMP record that it always comes up Jan 18, 2038? Is the clock not set properly, or am I misunderstanding some basic principal of the time stamp? My clie

RE: [PHP] mySQL time = year 2038 [SOLVED]

2002-07-01 Thread Shane
out the SELECT UNIX_TIMESTAMP query. Thanks again for all your replies. PHP RULES! (insert white boy dance here) - NorthBayShane -Original Message- From: Shane Sent: Monday, July 01, 2002 9:39 AM To: [EMAIL PROTECTED] Subject: [PHP] mySQL time = year 2038 [HELP] Checked the archive and

[PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Shane
Greetings, I am attempting to send an HTML based email using the Mail() function in PHP. I am having great luck until I include an OBJECT or EMBED tag in the HTML string. I am running PHP 4.2.1 on a WIN NT client. If I uncomment the OBJECT or EMBED lines below in the $message variable, my scri

RE: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Shane
I'll give it a shot, but there are # symbols all over the place in the other tags (like COLOR links...etc... But thanks though? Anyone else??? Thanks folks! -Original Message- From: Paul Roberts [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 11:31 AM To: Shane Subjec

RE: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Shane
Nope, no luck. Still errors out. Is there a limit to how man characters a MAIL() call can have? -Original Message- From: Paul Roberts [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 11:31 AM To: Shane Subject: Re: [PHP] MAIL() Trouble. Need your eyes. try escaping the # in

[PHP] Help a Header Headache!!

2002-07-11 Thread Shane
I am trying to send an EMBED and OBJECT tag inside an HTML email using the mail() call. My HEADER Content type is... $headers = "MIME-Version: 1.0\r\n"; $headers.= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers.= "From: ".$myname."<".$myemail.">\r\n"; $headers.= "To: ".$contactname.

[PHP] Best String to Array Solution

2002-07-11 Thread Shane
Greetings, this may be simple, but it's late and my brain needs a hand. I have a string such as "first,second,third,fourth" I need a way to take each one of the items separated by the comma to be an item in an array. I tried ereg() but to no avail. Is there a simpler way to do it? Thanks gang!

RE: [PHP] HELP!!! Word count

2002-07-11 Thread Shane
Dan, if you are entering the words in a form, when the variable holding the string hits your script do something like this (Hey I just figured this out myself too Gotta love these lists $tmpStr= whatever the form passes your script // turn string into an array // use EXPLODE() t

[PHP] Thumbnails from Binary DB info.

2002-04-29 Thread Shane
Greetings folks. I'm looking for a solution to make thumbnails from my binary files inside my mySQL DB. Can anyone give me some direction for options besides Image Magick? TIA - NorthBayShane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] B R A I N F R E E Z E !

2002-05-22 Thread Shane
Too Many HOURS!!! Too Little M&Ms!! Forgot... Brain... Ouch! Someone please remind me, what the hell the syntax for the short hand of the PHP "IF THEN" statement is where multiple variables need to be checked if($foo == "Panda" and $bar == "bear){ doWhatever(); }

RE: [PHP] B R A I N F R E E Z E !

2002-05-22 Thread Shane
Thanks gang echo("mm".$moreChocolate) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HELP!!! QUOTES!

2002-05-24 Thread Shane
Script function) What am I missing here? As always... Thanks in advance my friends. - Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Best GD Module for 4.0.6

2002-05-28 Thread Shane
en to be difficult. Thanks in advance, as always. - Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PLEASE: Second request...

2002-05-29 Thread Shane
. My question to you is, What is the best version of the GD module that works with 4.0.6, and where can I get it? Trying to download just the GD module on PHP.NET has proven to be difficult. Thanks in advance, as always. - Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Escaping double quotes

2006-05-25 Thread Shane
Not sure I understand your question correctly. I think you can just use soemthing like: echo ''; Mindaugas L wrote: or heredeoc syntax :) On 5/25/06, John Nichel <[EMAIL PROTECTED]> wrote: Pavleck, Jeremy D. wrote: > So I'm writing this page (PHP Newbie here) and it checks to see if a var

[PHP] hi

2004-04-02 Thread shane
Here is it! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Multiple page form

2002-11-26 Thread Shane McBride
page. The application form is very long. Any ideas? There may be a script that exists already? Anyway, it's nice to be back. - Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Multiple page form

2002-11-26 Thread Shane McBride
So, you are using a database to store the records? -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 10:45 AM To: Shane McBride; [EMAIL PROTECTED] Subject: Re: [PHP] Multiple page form > It's been a while since I have done any PHP

[PHP] Parse out text

2002-12-13 Thread Shane McBride
n I remove the "required" before the form is submitted? All I need is a hint... Thanks, Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strange bug(?) when opening lots of files

2002-09-17 Thread Shane Wright
ucial question; what can I do to fix it?) Any help appreciated, Thanks - -- Shane http://www.shanewright.co.uk/ Public key: http://www.shanewright.co.uk/files/public_key.asc './configure' '--with-gd' '--enable-gd-native-ttf' '--enable-track-vars' '--ena

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread Shane Wright
Wednesday 18 September 2002 12:01 am, Tyler Longren wrote: > How long does the script tend to run before it just "quits"? Perhaps > a timeout is set too low in php.ini. > > Take a look at max_execution_time in php.ini > > tyler > > On Tue, 17 Sep 2002 23:14

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread Shane Wright
rsion (and having to deal with the update issues that causes with my ISPs updates) Thanks Shane On Wednesday 18 September 2002 1:20 am, [EMAIL PROTECTED] wrote: > Can't you upgrade to 4.2.3 many bugs were fixed. - -- Shane http://www.shanewright.co.uk/ Public key: http://www.shanewrigh

Re: [PHP] Adding users to a linux system?

2002-10-15 Thread Shane Wright
that $paqss and $usuario contain only alphanumeric characters; no backticks or quotes or anything. Hope that helps Cheers Shane On Tuesday 15 October 2002 2:16 pm, :: wkwrz entertainment :: wrote: > $creador = "/usr/sbin/adduser -g mel -d /dev/null -s /bin/false -p $pass > $usuar

Re: [PHP] Adding users to a linux system?

2002-10-15 Thread Shane Wright
ch is more secure? > > Tim > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Custom Programming > Web Programming community & discussion > http://www.inter-apps.com > > > > - Original Message - > From: "Shane Wright" <[EMAIL PROTECTED]> > To: <

Re: [PHP] Number formatting

2002-06-06 Thread Shane Wright
;%0.02f", $val); Cheers - -- Shane www.shanewright.co.uk Public key: http://www.shanewright.co.uk/files/public_key.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8/58q5DXg6dCMBrQRApb0AJsFZ7WxZK5PRguKZqNbRndVUnkl/QCgpafj VWVF

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread Shane Wright
save sessions there. (this is actually better from a security standpoint as well; less chance of session hijacking). Cheers - -- Shane www.shanewright.co.uk Public Key: http://www.shanewright.co.uk/files/public_key.asc On Thursday 06 June 2002 6:31 pm, dan radom wrote: > I can't see

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread Shane Wright
permissions with that). I'm not sure why this should make a difference but it rings bells for some reason (can't remember enough offhand about UNIX users/permissions). Cheers - -- Shane www.shanewright.co.uk Public Key: http://www.shanewright.co.uk/files/public_key.asc > * Chris

[PHP] Re: multi-line textfields don't post

2002-06-10 Thread Shane Kelly
Do you mean the data doesn't transfer over to your database? "Phil Schwarzmann" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Whenever I use a mult-line textfield, the data inside doesn't transfer > over. But single-line textfields work just fine. > > how d

[PHP] Help with header function

2002-06-10 Thread Shane Kelly
xists.php";); } else { copy($file,"uploads/documents/".$file_name); } THIS SCRIPT DOESN'T WORK...DOES ANYONE KNOW WHY??? Thanks Shane [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with header function

2002-06-10 Thread Shane Kelly
I don't get an error message...but the page doesn't automatically forward to the redirected url. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with header function

2002-06-11 Thread Shane Kelly
e exists, and redirect using header: Location...etc,etc. If count=0 then insert form contents into docuemnt and copy file to folder. Thanks Shane "Ed Lazor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > LOL Yea, it's always mu

[PHP] Re: mysql problems, need help quick

2002-06-11 Thread Shane Kelly
not on auto increment...thats the point! why would you need to get the #6 back anyway... this is the fundementals of database theory... chances are the database is using this autoincrement field as the PRIMARY KEY...in which case no duplicates are allowed.. In terms of records...your id#7 has be

[PHP] Re: Newbie needs some help picking a php editor.

2002-06-11 Thread Shane Kelly
Hi Al... I use Macromedia Dreamweaver UltraDev with PHAkt plugin (you'll have to add it from the dreamweaver ultradev extensions @ www.macromedia.com/exchange Macromedia UltraDev is available for 30 day free trial at their site it has brilliant php support..you barely have to know a stitch

[PHP] get pwd on windows

2002-06-11 Thread Shane Wright
nd not be chopped to xxx~1 or anything. $SCRIPT_FILENAME is not set, there is no pwd utility, nothing is set in the environment and realpath('./') returns cropped firectory names. Is there a way to do this or am I condemned to bang my head against a wall and swear some more? Chee

Re: [PHP] Dos Paths

2002-07-10 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I have a problem that's somewhat related to this - I can get short filenames from the OS but I really need long filenames. Does anyone know how to do this? Thanks Shane On Wednesday 10 July 2002 1:14 pm, BB wrote: > I&#

[PHP] Vancouver PHP Conference - January 22-23

2004-01-06 Thread Shane Caraveo
rship opportunities, see: http://vancouver.php.net/?s=sponsorship Space is limited so book early! http://vancouver.php.net/?s=conference I look forward to seeing you there. Shane Caraveo Senior Developer, PHP ActiveState 604.484.6435 http://www.ActiveState.com -- PHP General Mailing List (http://www.php.net

Re: [PHP] Session Errors, do you recognize?

2001-01-10 Thread Shane McBride
Make sure that the To: <[EMAIL PROTECTED]> Sent: Wednesday, January 10, 2001 9:04 AM Subject: [PHP] Session Errors, do you recognize? Hey, I keep getting the same error messages when trying to fire up sessions in this code i wrote. i've written some test scripts to test sessions on my machine,

Re: [PHP] Session Errors, do you recognize?

2001-01-10 Thread Shane McBride
One more thing after looking at the code. Try this: - Original Message - From: "JB" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 10, 2001 9:04 AM Subject: [PHP] Session Errors, do you recognize? Hey, I keep getting the same error messages when trying to fire up

Re: [PHP] How can I get a random number

2001-01-10 Thread Shane McBride
This is what I have used: $token = md5(uniqid(rand())); - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Monday, January 10, 2000 5:13 PM Subject: [PHP] How can I get a random number > How can I get a random number > > Th

Re: [PHP] pause

2001-01-10 Thread Shane McBride
If you find something other than client side validation, let me know please. I had to resort to VBScript and I hate it! - Original Message - From: "jeremy brand" <[EMAIL PROTECTED]> To: "DanO" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 10, 2001 4:42 PM Subject: R

[PHP] Apache error after setting path for mysql=

2001-01-10 Thread Shane Reid
"libmysqlclient.so.10" not found -Shane

Re: [PHP] How do I store a pic?

2001-01-12 Thread Shane McBride
esult) or die ("Couldn't execute $sol_1"); $image = $row["image"]; exec("rm $picture /path/to/your/directory/'$image'"); Please note that you must use the actual path to the directory, not the httpd path. I hope this helps you. Let me know. Shane

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest notes.txt stresstest.cpp stresstest.dsp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 16:29:49 2001 EDT Modified files: /php4/sapi/isapi/stresstest notes.txt stresstest.cpp stresstest.dsp Log: Multithreaded stress test program for isapi module now supports phpt files still stuff to do before it's realy done, but does ru

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 16:56:23 2001 EDT Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: fix file reading, add results Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.4 php4/sapi/isapi

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 16:57:16 2001 EDT Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: check files open Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.5 php4/sapi/isapi/stresstest

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 17:13:51 2001 EDT Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: clean up temp files Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.6 php4/sapi/isapi/stresstest

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 17:17:45 2001 EDT Modified files: /php4/sapi/isapi/stresstest stresstest.cpp Log: dont do results if not using test files Index: php4/sapi/isapi/stresstest/stresstest.cpp diff -u php4/sapi/isapi/stresstest/stresstest.cpp:1.7 php4/sapi/isapi

[PHP-CVS] cvs: php4 /sapi/isapi/stresstest notes.txt stresstest.cpp

2001-01-14 Thread Shane Caraveo
shane Sun Jan 14 17:52:47 2001 EDT Modified files: /php4/sapi/isapi/stresstest notes.txt stresstest.cpp Log: test now produce valid OK or FAIL. Index: php4/sapi/isapi/stresstest/notes.txt diff -u php4/sapi/isapi/stresstest/notes.txt:1.2 php4/sapi/isapi

[PHP] Search Engine submittal and PHP

2001-01-17 Thread Shane McBride
design criteria and submission techniques were the same, except I used PHP on this particular site on every page. Thanks for your help... Shane

[PHP] Ethics question...

2001-01-17 Thread Shane McBride
in PHP, especially since this group made it possible? If that's ok to do, does anyone have any ideas how I can put a time limit on a demo that isn't easily defeated? TIA, Shane

Re: [PHP] Ethics question...

2001-01-17 Thread Shane McBride
Wow, I caused quite a debate. And I thought I would get slammed :) BTW - PHP / Apache is going to be up to the client at this point. :) - Shane - Original Message - From: "Maxim Maletsky" <[EMAIL PROTECTED]> To: "'jeremy brand'" <[EMAIL PRO

[PHP] Help w/ quotes/html and data from MySQL

2001-01-23 Thread Shane McBride
t; I looks like that the embedded html in the MySQL data is actually being "rendered" (for the lack of a better term). How can I get the whole chunk of data back into the form? TIA, -Shane

Re: [PHP] Help w/ quotes/html and data from MySQL

2001-01-23 Thread Shane McBride
After I sent this message I looked at the code again. I saw the error as obvious as daylight. It's working great now. Thanks. - Original Message - From: "Steve Edberg" <[EMAIL PROTECTED]> To: "Shane McBride" <[EMAIL PROTECTED]>; <[EMAIL PROTE

[PHP] Help: Google like page functions

2001-01-23 Thread Shane McBride
thing. I just can't seem to figure out what I should search for. - Shane

Re: [PHP] Help: Google like page functions

2001-01-23 Thread Shane McBride
I found a great little snippet by accident that does the "Previous 123 Next" links. If anyone is interested, here's the link to it: http://www.phpbuilder.net/snippet/detail.php?type=snippet&id=21 - Original Message - From: "Shane McBride" <[EMAIL P

[PHP] include_path in windows

2001-01-26 Thread Shane McBride
ect syntax, but it never seems to look in the second path. Can someone explain this to me better. Remember I'm dealing with Windows to do development. I would think that the script would start to look in the d:\sites directory and then go to any sub directory from there... TIA, -Shane

[PHP] include_path again

2001-01-26 Thread Shane McBride
OK, I figured out that I had forgotten the quotes around the path(s), but I still don't understand the path itself. Will it look in sub directories.For example: include_path=".;d:\sites" Will PHP look in any subs under sites? - Shane

[PHP] common.inc probs.

2001-01-26 Thread Shane McBride
windows path for the unix path variable, I'm trying to port this over to winders.. :-0 http://localhost/mp/images/$image"; $DOC_ROOT="mp"; $ADMINROOT="admin"; ?> TIA- -Shane

[PHP] Use of exec() in windows

2001-01-26 Thread Shane McBride
All, I'm trying to port a wonderful application over to miserable windows. I can not find documentation of how to invoke exec on windows. Here's what I tried: // Creates the image file with a timestamp $timestamp = time(); $image= $timestamp.$picture_name; if ($PLATFORM == "windows") { $new_pat

Re: [PHP] Help Please, MySQL is driving me insane

2001-01-26 Thread Shane McBride
Have you started the server? If not go to the command prompt and: 1. cd c:\mysql\bin (assuming this is where it was installed. 2. type mqsqld-opt (optimized for pentium class PC) That should start the server. If you need more help let me know. - Shane - Original Message - From: "

Re: [PHP] Help Please, MySQL is driving me insane

2001-01-26 Thread Shane McBride
The username that it defaults to is root, with no password. There is a command you need to run to set a password. - Original Message - From: "Chris" <[EMAIL PROTECTED]> To: "Jason Bouwmeester" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 10:29 PM Subject:

Re: [PHP] phpinfo ?

2001-01-26 Thread Shane McBride
Try this: -Shane - Original Message - From: "kaab kaoutar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 26, 2001 10:23 AM Subject: [PHP] phpinfo ? > Hi there! > > I'm sure it's a stupid problem but the phpinfo do

[PHP] move_uploaded_file - getting furthur ..still need help

2001-01-26 Thread Shane McBride
Here's what I get: Warning: Unable to create 'd:\sites\merchantpower\mp\images\': Permission denied in d:/sites/MerchantPower/mp/admin/add_record2.php on line 47

[PHP] really need help...

2001-01-26 Thread Shane McBride
ew_path); //move_uploaded_file($picture, $new_path); } else { echo "Possible file upload attack: filename '$picture'."; } } Any help would be greatly appreciated... -Shane

[PHP-CVS] cvs: php4 /main main.c

2001-02-21 Thread Shane Caraveo
shane Wed Feb 21 12:50:49 2001 EDT Modified files: /php4/main main.c Log: zend_compile_file returns a NULL on error, check for that before calling destroy_op_array unless we like crashes :-) Index: php4/main/main.c diff -u php4/main/main.c:1.350

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c

2001-02-21 Thread Shane Caraveo
shane Wed Feb 21 15:57:29 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: Initalize some of the global vars. Crashed under ms debugger without having them initialized. Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c

[PHP] require on compressed files

2001-02-28 Thread Shane Wegner
of using gzread and passing that to eval but it isn't pure PHP and uses respectively. Thanks in advance, Shane -- Shane Wegner: [EMAIL PROTECTED] http://www.cm.nu/~shane/ PGP: 1024D/FFE3035D A0ED DAC4 77EC D674 5487 5B5C 4F89 9A4E FFE3 035D --

[PHP] writing a time to mysql????

2001-04-26 Thread Shane McBride
-$s_month-$s_day','$e_year-$e_month-$e_day', '$stime_hour.$stime_minute', '$etime_hour.$etime_minute')"; s_time and e_time are thr start and end time of the event. $stime_hour $stime_minute are the hour and minute fileds from the form. Any ideas - Shane DISCLAIMER: I am by no means an expert on this, or any other, topic...

Re: [PHP] PHP vs. ASP

2002-01-09 Thread Shane Wright
site as for the offline processing bits :) -- Shane On Wednesday 09 Jan 2002 1:43 pm, Jake wrote: > Hello there, I need some help. > > I have to do a technical report(about 2200 words) comparing PHP to ASP. I > have already decided to make PHP the winner becasue it is superior.

Re: [PHP] Time calculation after UNIX

2002-01-16 Thread Shane Wright
before then (if it doesn't already??) -- Shane On Wednesday 16 Jan 2002 9:33 am, Olav Drageset wrote: > Hi > > I have a database that is supposed to last more than 30 years > > Could someone advice me how to calculate (add and subtract) time in a maner > that willl be

Re: [PHP] RTFM

2002-01-18 Thread Shane Wright
Hi Maybe this list should be split - kindof into a php-newbies and a php-advanced ? -- Shane On Friday 18 Jan 2002 9:39 pm, Richard Crawford wrote: > Consider yourself fried. ;-) > > Seriously, though, I think that there are more advanced PHP lists that > would probably be more to

  1   2   3   >