[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] 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/) To

[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
Questions: Please help. Shane, absolutely you can mix HTML and dynamically generated images. You'll actually call the image in passively via an img tag like this... img src=getimage.php getimage.php will echo the appropriate image header (Content-type: image/png or whatever) plus your image grabbing

[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

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

2002-07-01 Thread Shane
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 saw no difinitives... so... How come when I query my clients

[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

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 Subject: Re

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

[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:

[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()

[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...

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 PROTECTED] Subject: [PHP

[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

[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:

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

2002-05-22 Thread Shane
Too Many HOURS!!! Too Little MMs!! 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(); } Thanks gang! - Shane -- PHP

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
? 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
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
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: http

[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... ? PHP function save_archive(){ $filename =

[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:

[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 when

[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

[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
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 if you call it like

[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

[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 BR tags, but is there a PHP function that will add BR or P tags to a text form field in place of the carriage returns a user

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 'form action=myform.php method=post'; 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

[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

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

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 for help if I haven't

[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

[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

[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/)

[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

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

2001-01-10 Thread Shane McBride
Make sure that the ? that starts the php script is the VERY first line of the file, and that there are NO spaces before it anywhere. I had the same problem, I was used to html and even PHP being rather syntax flexible. As soon as I removed the spaces and extra line at the beginning of the file,

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: RE:

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

2001-01-12 Thread Shane McBride
ULT"); $row = myself_fetch_array($sol_result) 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 y

[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] Help w/ quotes/html and data from MySQL

2001-01-23 Thread Shane McBride
tarea name=\"description\" value='$description' cols=\"50\" rows=\"5\"/textarea/td ...ending code ? 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

[PHP] Help: Google like page functions

2001-01-23 Thread Shane McBride
of 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=snippetid=21 - Original Message ----- From: "Shane McBride" [EMAIL PROTECTED] To: [E

[PHP] include_path in windows

2001-01-26 Thread Shane McBride
, 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
for the unix path variable, I'm trying to port this over to winders.. :-0 ? $DB_SERVER="localhost"; $DB_LOGIN="shane"; $DB_PASSWORD="whatever"; $DB_NAME="test"; $HTTP_HOST="localhost"; $AUTH_USER="admin"; $AUTH_PASS="installme";

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] phpinfo ?

2001-01-26 Thread Shane McBride
Try this: html body ?php phpinfo(); ? /body /html -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 does

[PHP] really need help...

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

[PHP] IIS and PHP authorization

2001-01-27 Thread Shane McBride
echo 'Authorization Required!'; exit; } } ? Any ideas? TIA- Shane

Re: [PHP] IIS and PHP authorization

2001-01-27 Thread Shane McBride
I thought PHP would only run as CGI on IIS? Right now I'm trying to config Apache. - Original Message - From: "Rasmus Lerdorf" [EMAIL PROTECTED] To: "Shane McBride" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, January 27, 2001 9:44 PM Subject: R

[PHP] IIS and $PHP_AUTH_USER

2001-01-29 Thread Shane McBride
I am getting a whole lot closer to getting IIS to work with PHP loading as ISAPI. Now, when I try to get authorized, it never works. It's probably a varialbe in the .ini file I have not set. I keep getting the user prompt box, and the realm changes after the first login failure NT5 PHP

Re: [PHP] How can I make PHP to work on Win98 ?

2001-01-30 Thread Shane McBride
Here's my input: Get Xitami for Windows. You can not do any version of IIS on win98. Xitami is VERY easy to configure. Then you of course will need PHP. First, install Xitami, then PHP. The PHP installer will ask you what type of web server you run and configure PHP and the web server

[PHP] Pricing for PHP programming???

2001-01-31 Thread Shane McBride
to be rather dynamic since the data content depends largely on the previous choices of the end-user. One or two tables with 20-30 fields. 5-6 pages of html and PHP. I'm just scouting this out, and am VERY confident with the contributors to this list and their opinions. TIA, Shane

Re: [PHP] IIS ISAPI

2001-02-03 Thread Shane McBride
Yea I had to move the php4ts.dll dile to the winnt directory. Thanks. Have you every tried to get authentication to work using PHP as isapi? - Original Message - From: "Chris Fry" [EMAIL PROTECTED] To: "Shane McBride" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: S

[PHP] HTTP Authentication w/IIS

2001-02-03 Thread Shane McBride
OK, I loaded PHP with the ISAPI filter, but still no luck with authentication.. Here's the basic script that works on Apache/Linux: ? // File name: admin_menu.php // Check to see if $PHP_AUTH_USER already contains info if (!isset($PHP_AUTH_USER)) { // If empty, send header causing dialog box

[PHP] Sessions stopped working with 4.04

2001-03-28 Thread Shane Iseminger
registered -- shouldn't the values be there as well? This code was all working, now it's busted, any ideas? Might I have missed a compile options? I've been taking blind stabs at workarounds with no luck. Thanks in advance . . . -- Shane -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] [PHP/Apache] Transparent Subdomains ?

2001-12-15 Thread Shane Wright
that points at your dynamic page... Hope that helps... -- Shane On Thursday 13 Dec 2001 7:56 pm, Jon Shoberg wrote: Any ideas on how to pull this off. I would like to have http://mydomain.com and http://www.mydomain.com resolve to my /index.html page. When a user types in http

Re: [PHP] Logout problem - help me out....!

2001-12-15 Thread Shane Wright
your own login scheme using an HTML form for username/password and setting a cookie to flag that the user is 'logged in'. Then, when the user wants to log out, clear the cookie and job done :) -- Shane On Saturday 15 Dec 2001 5:37 am, J.F.Kishor wrote: hello all, I have already posted

Re: [PHP] Is PHP up to task?

2001-12-15 Thread Shane Wright
is likely to visit (while the user is sitting there reading the page...) It isnt appropriate in all situations, but it can be a useful trick... :) -- Shane On Saturday 15 Dec 2001 7:39 pm, René Fournier wrote: What you're saying makes sense--that loading ALL the nav button images for the whole site

[PHP] 'Select All'

2001-12-17 Thread Shane Wright
access them by name because of the square brackets, and I cant access them by going through all form elements in case there are other checkboxes that dont want to be included. Is there a tidy way around this, does any of the above make sense? Thanks -- Shane -- PHP General Mailing List (http

Re: [PHP] 'Select All'

2001-12-17 Thread Shane Wright
Hi Charles, As a button, ideally two in fact - 'select all' and 'unselect all'. I've done it easily with ASP sites - where the '[]' is not required to have the values passed back as an array. (I know I could find a non-array way of doing it but its a pain) -- Shane On Monday 17 Dec 2001

Re: [PHP] 'Select All'

2001-12-18 Thread Shane Wright
Hi Martin, Excellent, thanks for your help :) Regards -- Shane On Monday 17 Dec 2001 10:15 pm, Martin Towell wrote: you _can_ reference it by name - try this: script function my_select(type) { frm = document.forms.test; ele = frm[mycheckbox[]]; len = ele.length

Re: [PHP] PHP / SSL

2001-12-20 Thread Shane Wright
the weakest part of standard 40bit SSL yes? If I'm wrong, arent a lot of people putting a lot of confidence in something that really isnt secure (i.e. all SSL sessions...)?? -- Shane On Thursday 20 Dec 2001 9:07 pm, TD - Sales International Holland B.V. wrote: On Thursday 20 December 2001 14:58

[PHP] compressed content and output buffering

2001-12-20 Thread Shane Wright
be any problem theoretically. I imagine mod_gzip would help in this respect - but I'd like it to be switched on and off within PHP. Anyone know a nice way of doing this? Thanks -- Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] PostgreSQL query taking a long time

2001-12-21 Thread Shane Wright
Hi, You dont have the book field in the asv_bible table indexed. Use this to index it CREATE INDEX myindexname ON asv_bible(book); (the primary key fields are ok because PostgreSQL creates a unique index to implement the PRIMARY KEY constraint). Hope that helps :) -- Shane I have

Re: [PHP] PHP ssi

2001-12-21 Thread Shane Wright
Hi Nick, No, this isnt possible - but the constructs in PHP should allow you to do anything you can do with SSI just as easily. -- Shane On Friday 21 Dec 2001 5:45 pm, Nick wrote: Is it possible to have a .php file parse SSI's? I tried adding .php as a SSI file but it overwrote the php

Re: [PHP] PHP vs. ASP

2002-01-09 Thread Shane Wright
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. But I am kinda stumped

Re: [PHP] Time calculation after UNIX

2002-01-16 Thread Shane Wright
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 correct after 2030 when Unix Time stop working

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 your liking

Re: [PHP] strange behaviour of mysql_pconnect()

2002-01-22 Thread Shane Wright
Of course thats not really a good thing to do anyways... -- Shane On Tuesday 22 Jan 2002 4:27 pm, Jimmy wrote: Hi list, I do a small test on mysql_connect() and mysql_pconnect(), and discover a strange behaviour. ? $cid1 = mysql_pconnect($host,$user,$pass) or die(cant connect1); $cid2

Re: [PHP] Uploading a file

2002-01-25 Thread Shane Wright
Hi Jason You have set the form's ENCTYPE attribute to 'multipart/form-data' haven't you? FORM ENCTYPE='multipart/form-data' -- Shane On Friday 25 Jan 2002 2:08 pm, Todd Cary wrote: Jason - Using the recommended HTML, everything works *except* the file does not become part

[PHP] URL Parsing Help

2002-01-29 Thread Shane Lambert
I am trying to write software that will allow me to pass variables to a php script like: index.php/option=contact/step=view When I do this, I get the varibal PATH_INFO which contains /option=contact/step=view. Now, what I want is to have the following: $option = contact $step = view I tried

Re: [PHP] URL Parsing Help

2002-01-29 Thread Shane Lambert
/\ \ / September 11, 2001 X We Are All New Yorkers / \ rm -rf /bin/laden On Tue, 29 Jan 2002, Shane Lambert wrote: I am trying to write software that will allow me

[PHP] sessions concurrency

2002-03-13 Thread Shane Wright
that if this is true I could write my own session save/load handlers to install with session_set_save_handler() and handle locking/concurrency issues - if so would these work if written in C as a php extension? Any info appreciated, Thanks -- Shane -- PHP General Mailing List (http

Re: [PHP] Undefined variables

2002-03-30 Thread Shane Wright
about uninitialised variables (which, if register_globals is on, could be used by an attacker to make your scripts to bad things...) - -- Shane -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org

Re: [PHP] Undefined variables

2002-03-30 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 sorry, didnt get that that was your prefered method - didnt mean to step on your toes :) S On Sunday 31 March 2002 2:50 am, Lars Torben Wilson wrote: On Sat, 2002-03-30 at 17:43, Shane Wright wrote: -BEGIN PGP SIGNED MESSAGE- Hash

[PHP] MAC file upload

2002-04-06 Thread Shane McBride
on this? Shane McBride RDI Technologies www.rditech.net Office: 410-575-6326 Fax:410-575-6327 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Number formatting

2002-06-06 Thread Shane Wright
- -- 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 VWVFBaJ9ysYxJqNP3Bxm2EI

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

2002-06-06 Thread Shane Wright
to 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 seem to get

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

2002-06-06 Thread Shane Wright
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 Knipe ([EMAIL PROTECTED]) wrote: Have you tried

[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 do i fix

[PHP] Help with header function

2002-06-10 Thread Shane Kelly
); } 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
, 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 much easier if we have actual code to w

[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

[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
and 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? Cheers - -- Shane http

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've got an application

[PHP] Add FTP user via PHP?

2002-04-23 Thread Shane McBride
Is there a way to add an ftp user and assign them to a directory when the host server does not and will not load the ftp module? Shane McBride RDI Technologies www.rditech.net Office: 410-575-6326 Fax:410-575-6327 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

  1   2   >