[PHP] cURL on freebsd

2010-03-30 Thread Shane Hill
can anyone tell me why the cURL code below produces a POST request as expected on linux, but the same code on freebsd is forced to be a GET request? the linux box is running php 5.2.11 the freebsd box is running 5.3.2 is there a bug in 5.3.2? a search does not turn anything up.

Re: [PHP] cURL on freebsd

2010-03-30 Thread Shane Hill
On Mar 30, 2010, at 19:50, Tommy Pham tommy...@gmail.com wrote: On Tue, Mar 30, 2010 at 7:36 PM, Shane Hill shanehil...@gmail.com wrote: can anyone tell me why the cURL code below produces a POST request as expected on linux, but the same code on freebsd is forced to be a GET request

[PHP] PHPDFS on 20 amazon instances

2009-08-28 Thread Shane Hill
attention from the folks at the Storage Systems Research Center at UC Santa Cruz. http://www.ssrc.ucsc.edu/ if anyone has questions or wants to get involved please let me know. you can download phpdfs here: http://code.google.com/p/phpdfs/downloads/list peace, -Shane

Re: [PHP] Re: newbie question - php parsing

2009-07-22 Thread Shane Hill
2009/7/22 João Cândido de Souza Neto j...@consultorweb.cnt.br You made a mistake in your code: ?php the_title(); ? must be: ?php echo the_title(); ? ?= the_title(); ? also works. -Shane -- João Cândido de Souza Neto SIENS SOLUÇÕES EM GESTÃO DE NEGÓCIOS Fone: (0XX41) 3033-3636

Re: [PHP] php distributed file system

2009-07-09 Thread Shane Hill
of the code and technologies that phpdfs is built upon are very very familiar to the php community already. just php and your favorite flavor of web server and away you go. thanks for the note, -Shane /Per -- Per Jessen, Zürich (16.1°C) -- PHP General Mailing List (http://www.php.net

Re: [PHP] Simple login form with cookies

2009-07-08 Thread Shane Hill
for some help with a simple login form and cookies, this thread would be useless. peace, -Shane On Wed, Jul 8, 2009 at 12:23 PM, Bob McConnell r...@cbord.com wrote: From: Tony Marston I do not follows rules which cannot be justified beyond the expression It is there, so obey it! Why

[PHP] php distributed file system

2009-07-08 Thread Shane Hill
but usable and will get better and better :) if anyone wants to help out let me know. I hope the community finds this useful. peace, -Shane

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] Weird Image Problem

2005-06-30 Thread Shane Little
I'm bin2hex'ing images from an upload script and inserting into a mysql blob field. The php script that re-packs the hex data back to binary, does the createimagefromstring() and streams the image to the browser is generating a corrupted image... i.e. The image looks fine until part-way

Re: [PHP] Weird Image Problem

2005-06-30 Thread Shane Little
Kristen G. Thorson wrote: MySQL blobs are actually limited to 64K. I think a MEDIUMBLOB holds about 16 MB if you're dead-set on storing the image in the database. You might want to check that your max_allowed_packets size is large enough. You can find that by querying SHOW VARIABLES LIKE

[PHP] Showing tables (converting from MySQL to Oracle)

2005-06-23 Thread Shane Presley
($query, $link) or die('Query failed: ' . mysql_error()); } else { die('No DB link'); } return $result; } Thanks! Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compiling problem (apxs)

2005-06-15 Thread Shane Presley
the Apache version was still without Oracle. All I'm trying to do is get PHP running with Oracle support. Thanks Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache fails to start (oracle path problem?)

2005-06-15 Thread Shane Presley
object file: No such file or directory [FAILED] Not sure how I could set that for Apache? Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache fails to start (oracle path problem?)

2005-06-15 Thread Shane Presley
Thank you! That fixed it. I just had to define the Oracle env variables on the httpd startup script. So that was a huge help :) Shane On 6/15/05, Kristen G. Thorson [EMAIL PROTECTED] wrote: I ran into a similar problem trying to get ODBC working with a Progress database. I managed to solve

Re: [PHP] Oracle Interface

2005-06-13 Thread Shane Presley
On 6/10/05, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, June 10, 2005 8:48 am, Shane Presley said: Where can I find some info on integrating Oracle and PHP? http://php.net/oracle pretty much covers it. Thanks! You're right, that looks pretty straight forward. Although I do have two

Re: [PHP] Oracle Interface

2005-06-13 Thread Shane Presley
PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT Not sure what that is? Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Oracle Interface

2005-06-10 Thread Shane Presley
Where can I find some info on integrating Oracle and PHP? I had some PHP front ends to a MySQL database, worked great. Our DBAs want to change the back end from MySQL to Oracle 10g. How hard would it be to convert my PHP scripts, and where would I go to read up on Oracle -- PHP? Thanks Shane

[PHP] PHP and Post Data

2004-12-21 Thread Shane Mc Cormack
the POST data stored in a variable, i jsut need to know how to tell PHP the post data. On the webserver GET support works perfectly, as does POST support, all i need to do is tell PHP what the data is. Any help would be appreciated. -Shane -- PHP General Mailing List (http://www.php.net

Re: [PHP] PHP and Post Data

2004-12-21 Thread Shane Mc Cormack
That works on a normal webserver yes. However, I am programming my own, and I have the Posted Data stored in the memory of the webserver, and when i execute the PHP.exe i need to tell it what the PostData is somehow. - Shane John Nichel wrote: Shane Mc Cormack wrote: Hi I'm trying to integrate

Re: [PHP] PHP and Post Data

2004-12-21 Thread Shane Mc Cormack
I have my own reasons for wanting to write my own webserver, but thats not the point here. I just need/want to know how to tell the PHP.exe what the POST variables are. - Shane Travis Conway wrote: Why reinvent the wheel by writing your own webserver? Apache allows for it to be used within

[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] Retain form values...

2004-03-18 Thread Shane McBride
How about passing the form variables to a hidden field on the next page? I used this for several page forms before. Also, sessions work well. Shane -Original Message- From: Firman Wandayandi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 3:43 PM To: [EMAIL PROTECTED] Cc: PHP

RE: [PHP] Retain form values...

2004-03-18 Thread Shane McBride
Gotcha. I typically use javascript to validate before the form is posted to validate. shane -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 6:23 PM To: Shane McBride; PHP Subject: RE: [PHP] Retain form values... Shane McBride mailto

RE: [PHP] Retain form values...

2004-03-18 Thread Shane McBride
Actually all form validation is done before the form action takes place, so that way we do not loose input. shane -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 6:38 PM To: Shane McBride; PHP Subject: RE: [PHP] Retain form values

[PHP] Simple: Whats wrong with this?

2004-03-17 Thread Shane McBride
I have a form variable I want to increment by a value of 1 each time the page loads. Here's what I have so far: if(!isset($correct)) { $correct = 0; } else { $correct = $correct++; } Seems like it should work? Thanks! Shane -- PHP General Mailing List (http

RE: [PHP] Simple: Whats wrong with this?

2004-03-17 Thread Shane McBride
It doesn't seem to work either way for me. Shane -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 12:01 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Simple: Whats wrong with this? No. $correct++; Is all you need for the second

RE: [PHP] Simple: Whats wrong with this?

2004-03-17 Thread Shane McBride
++ } Shane -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 12:06 PM To: Shane McBride Cc: PHP Subject: RE: [PHP] Simple: Whats wrong with this? Well I accidentally deleted your original email, but I didn't see where you were getting the counter

RE: [PHP] Simple: Whats wrong with this?

2004-03-17 Thread Shane McBride
No, the value still is not incrementing. -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 12:25 PM To: Shane McBride; PHP; [EMAIL PROTECTED] Subject: RE: [PHP] Simple: Whats wrong with this? Shane McBride mailto:[EMAIL PROTECTED

Re: [PHP] php newsgroup portal?

2004-02-29 Thread Shane Nelson
To read this list I use thunderbird: http://www.mozilla.org/projects/thunderbird/ It's an email client instead of a newsgroup reader. Just filter the php-general messages into a separate folder and sort it by thread. Super easy to use and a very nice piece of software. Shane Zhang Weiwu

[PHP] apache mysql php windows

2004-02-24 Thread Shane Nelson
, Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Detecting Binaries

2004-02-23 Thread Shane Nelson
: http://filezilla.sourceforge.net/ Good luck. Shane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: ftp software

2004-02-22 Thread Shane Nelson
I would highly recomend filezilla: http://filezilla.sourceforge.net/ It's open source, it works great and it doesn't have any ads or spyware like some of the other 'free' windows ftp programs. Nathan McIntyre [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello! I am new

Re: [PHP] [Q] About Method Not Allowed error message

2004-02-20 Thread Shane Nelson
I don't think you can send a POST to a .html page. Maybe your page (register_new_member.html) should be .php instead? Either that or you might have to change your FORM METHOD=POST back to FORM METHOD=GET Shane Quoting Michael T. Peterson [EMAIL PROTECTED]: When I click the submit button

[PHP] Vancouver PHP Conference - January 22-23

2004-01-06 Thread Shane Caraveo
://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/) To unsubscribe, visit: http

[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] Parse out text

2002-12-13 Thread Shane McBride
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] 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] Multiple page form

2002-11-26 Thread Shane McBride
. 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 work. I am

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

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 $usuario; $creador = exec

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

2002-10-15 Thread Shane Wright
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Custom Programming Web Programming community discussion http://www.inter-apps.com - Original Message - From: Shane Wright [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 9:36 AM Subject: Re: [PHP] Adding users to a linux system

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

[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] strange bug(?) when opening lots of files

2002-09-17 Thread Shane Wright
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' '--enable-sysvsem' '--enable-sysvshm' '--enable-calendar

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

2002-09-17 Thread Shane Wright
On 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:46 +0100 Shane Wright [EMAIL PROTECTED] wrote

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

2002-09-17 Thread Shane Wright
(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.shanewright.co.uk/files

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

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

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

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

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

  1   2   >