Re: [PHP] Serious Fopen Problems - not newbie :)

2001-09-01 Thread Philip Murray
- -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com - - -- - - This is a snippet from my code. $FILE = http://www.somehost.com;; $fp = fopen($FILE, r); if(!$fp){ print(Somethings screwy); } else{ do stuff } Any suggestions? Paul

Re: [PHP] something like SSI ?

2001-08-14 Thread Philip Murray
-- - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com - - -- - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] Share Session Vars on 2 servers

2001-07-31 Thread Philip Murray
! - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com - - -- - - - Original Message - From: Paul R. Jackson [EMAIL PROTECTED] I have developed a well tested password protection system using session vars

Re: [PHP] File Upload

2001-07-29 Thread Philip Murray
, it outputs == Error: Dscf0005.jpg cannot be uploaded. I chmoded the folder to 777 and still the same results. It's always the simple things. :) -- - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com

Re: [PHP] Re: HTTP header question.

2001-07-29 Thread Philip Murray
-- - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com - - -- - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

Re: [PHP] END block

2001-07-28 Thread Philip Murray
Hi Erick, It's all in the manual... http://php.net/manual/en/function.register-shutdown-function.php Cheers - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com - - -- - - - Original Message - From

Re: [PHP] $this-db-Record[WLPcountry.name]

2001-07-22 Thread Philip Murray
] and $this-db-Record[publisher_name] Hope this helps! Cheers - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com - - -- - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] What's wrong with this regular expression?

2001-07-20 Thread Philip Murray
Hi James, This is what you want $body=eregi_replace (a href=\([^]+)\([^]+)/a,[url=\\\1\]\\2[/url],$body); You were checking for no ['s in the string instead of no 's or 's - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com

Re: [PHP] report generation with PHP

2001-07-17 Thread Philip Murray
În 17 Jul 2001 19:47:23 +1200 Philip Murray a scris: What about using a Windows COM object? There should be one for Access and if not you can use the Word one and generate word documents Don't use Words for that... We've had to generate invoices to be snail-mailed, I've also done

[PHP] Regular expressions

2001-07-17 Thread Philip Murray
regexp. Any ideas? - -- - - - Philip Murray [EMAIL PROTECTED] - - -- - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] does php have a response.flush function

2001-07-15 Thread Philip Murray
Hi Andrew, It's flush(); http://nz.php.net/manual/en/function.flush.php Cheers - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com - - -- - - - Original Message - From: Andrew Austin [EMAIL

Re: [PHP] How to force a file download

2001-07-13 Thread Philip Murray
Try sticking in a Header(Content-Disposition: attachment; filename=\$filename\); It should work with IE5.5, but it's hard to tell with Internet Explorer as it changes from version to version. - -- - - - Philip Murray - Senior Systems Engineer [EMAIL

Re: [PHP] The need for strong typing...

2001-07-12 Thread Philip Murray
), especially since input validation should consist more than just checking the datatype. Cheers - -- - - - Philip Murray - Senior Systems Engineer [EMAIL PROTECTED] - Open2View.com http://www.open2view.com - - -- - - - Original Message - From

Re: [PHP] ereg parse error problem

2001-07-12 Thread Philip Murray
Hi Lara, The problem isn't with the if(ereg) line, its the line above. Put a semi-colon at the end of your $string = ..[snip].. line Cheers - -- - - - Philip Murray - Senior Systems Engineer [EMAIL PROTECTED] - Open2View.com http://www.open2view.com

Re: [PHP] using image place holders in a database field?

2001-07-10 Thread Philip Murray
and the end, the img src=\\\1\ part replaces the ##string## with img src=string. The \\1 is a reference to the string matched with (.+) in the first parameter. '.+' matches any character 1 or more times. - -- - - - Philip Murray [EMAIL PROTECTED

Re: [PHP] using image place holders in a database field?

2001-07-10 Thread Philip Murray
Oops. That should've been $string = ereg_replace(##([^#]+)##, img src=\\\1\, $string); - Original Message - From: Philip Murray [EMAIL PROTECTED] To: Matthew Delmarter [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 3:57 PM Subject: Re: [PHP] using image place

[PHP] System V Semaphores

2001-04-10 Thread Philip Murray
Hi, I've been trying to use SystemV Semaphores as a kind of locking system in a webpage, but after a few hours I get this message: Warning: semget() failed for key 0x0: No space left on device in /1/home//admin/htdocs/prop/lock.php on line 8 Warning: 0 is not a SysV semaphore index in

Re: [PHP] Creating a gif thumbnail, without the libgd1.6 or earlier version!

2001-03-06 Thread Philip Murray
Try using ImageMagick on the command line via System() or Exec() or whatever. http://www.imagemagick.org/ -=--==- -- - -- Philip Murray [EMAIL PROTECTED] - Original Message - From: "Zenith" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday

[PHP] Problems with pdflib-3.02

2001-03-02 Thread Philip Murray
ot; ); header( "Content-Disposition: filename=$REMOTE_USER.$id.pdf" ); header( "Content-Description: PDF Format Invoice" ); header("Location: /invoicing/$REMOTE_USER.$id.pdf"); ? Anyhelp would be muchly appreciated. Cheers PS, Its all in IE5.