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

2001-08-31 Thread Philip Murray
en Cheers - -- - - - 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(&qu

Re: [PHP] something like SSI ?

2001-08-14 Thread Philip Murray
); It's all in the manual -- -------- - -- - - - 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 command

Re: [PHP] Share Session Vars on 2 servers

2001-07-31 Thread Philip Murray
helps! - -- - - - 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 protect

Re: [PHP] Re: HTTP header question.

2001-07-29 Thread Philip Murray
gt; satisfy my requirement. > > So... anybody else? > - How about using javascript? For example [...any other data you want...] <!-- document.forms[0].submit() // or document.forms['loginFailure'].submit(); // --&g

Re: [PHP] File Upload

2001-07-29 Thread Philip Murray
nnot be uploaded."; > else echo "Successfully uploaded $filename."; > > When I submit the form, it outputs ==> > Error: Dscf0005.jpg cannot be uploaded. > > I chmoded the folder to 777 and still the same results. > It's always the simple t

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 -

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

2001-07-21 Thread Philip Murray
e, WLPprofile.lastName, WLPprofile.organization FROM WLPbib So then, you'd have: $this->db->Record["country_name"] and $this->db->Record["publisher_name"] Hope this helps! Cheers - -- - - - Philip Murray - [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 ("]+)\">([^<]+)","[url=\"\\1\"]\\2[/url]",$body); You were checking for no ['s in the string instead of no >'s or <'s - -- - - - Philip Murra

[PHP] Regular expressions

2001-07-17 Thread Philip Murray
oing this in PHP? I tried preg_replace but it didn't seem to like my regexp. Any ideas? - -- - - - Philip Murray [EMAIL PROTECTED] - - -- - - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

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 s

Re: [PHP] "report" generation with PHP

2001-07-17 Thread Philip Murray
quick (as in development time) SOAP client using the MSSOAP.SoapClient COM object. - -- - - - Philip Murray - [EMAIL PROTECTED] http://www.open2view.com - Open2View.com - - -- - - - Original Message - From: "Marius Andreiana&quo

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 Austi

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

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://ww

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

2001-07-12 Thread Philip Murray
P at least), 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

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

2001-07-10 Thread Philip Murray
Oops. That should've been $string = ereg_replace("##([^#]+)##", "", $string); - Original Message - From: "Philip Murray" <[EMAIL PROTECTED]> To: "Matthew Delmarter" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednes

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

2001-07-10 Thread Philip Murray
tched with (.+) in the first parameter. '.+' matches any character 1 or more times. -------- - -- - - - Philip Murray [EMAIL PROTECTED] - - -- - - - Original Message - From: "Matthew Delmarter" <[EMAIL PROTECTED]> To: "

[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 /1/ho

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 PROTE

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread Philip Murray
ss to make it work in Windows clients. You have to remove all the \r's and .chr(13)'s. I hope this helps, I've attached the script I wrote Cheers Philip Murray [EMAIL PROTECTED] - Original Message - From: "Brett" <[EMAIL PROTECTED]> To: "PHP" <

[PHP] Problems with pdflib-3.02

2001-03-02 Thread Philip Murray
t I use to send the generated PDF to the browser: Anyhelp would be muchly appreciated. Cheers PS, Its all in IE5.x in win98/win2k Philip Murray [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai