[PHP] php 4.0.6

2001-07-19 Thread Adrian D'Costa
Hi, I am trying to use the socket or readline functions but get a message: call to undefined function readline(). Why? Is this not implemented in 4.0.6. Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Using mod_rewrite with PHP

2001-07-19 Thread rm
try this url, maybe it will help... http://www.zend.com/tips/tips.php?id=68&single=1 --- Gawain <[EMAIL PROTECTED]> wrote: > I've been wrestling with mod_rewrite and trying to > understand how to > use it for my particular purpose. I've got two php > URLs I'd like to > rewrite to make them se

[PHP] php hosting provider that supports libswf module?

2001-07-19 Thread Kurt Lieber
Does anyone know of a reputable PHP web hosting company that also supports the libswf (i.e. Flash) module? And, specifically, does anyone know if Pair.com does/doesn't? (yes, I'm going to ask them directly as well) Thanks. --kurt

Re: [PHP] Sessions and linking

2001-07-19 Thread Michael Hall
Try using theinbox.php? Adding to all your URLs will maintain session data if cookies are turned off. The session ID (a random 32 character string) is available in $PHPSESSID, so if you really wanted to you could do: theinbox.php?PHPSESSID=$PHPSESSID but is easier. Mick On Fri, 20

Re: [PHP] Using mod_rewrite with PHP

2001-07-19 Thread Miri
I'm using this no problem on a server running apache, but we have one client who insists on IIS and I have not been able to get it to work. Has anyone been able to get this to work with IIS? If so, any words of wisdom? :) At 09:25 PM 7/19/01 -0700, rm wrote: >try this url, maybe it will help... >

[PHP] split on whitespace, preserving whitespace...

2001-07-19 Thread Garth Dahlstrom
Hi all, I'm trying to build a spell checker for a web form. What has got me stumped is being able to do a split so that whitespace and words are stored as seperate elements of the same array. ideally, I'd use some form of preg_split to put: "This contanswhite space ." into an array like

[PHP] redirect to another page in PHP???

2001-07-19 Thread Doug
Ok maybe I'm just retarded and can't find it but I'm looking for a way to do a redirect in a php page to another page, similar to asp's "response.redirect" function. Is there one in php??? Doug Henry

FW: [PHP] php hosting provider that supports libswf module? OR MING!!

2001-07-19 Thread Kurt Lieber
Sorry -- I should have said "supports either libswf or ming" Thanks. --kurt > -Original Message- > From: Kurt Lieber [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 19, 2001 9:37 PM > To: [EMAIL PROTECTED] > Subject: [PHP] php hosting provider that supports libswf module? > > > Doe

[PHP] Fonts with PDFlib

2001-07-19 Thread James Willard
Hello, I have what should be a fairly simple question, but it's something I've been struggling with for the past couple of days. Whenever I create a PDF document in PHP, the font that is used is always an outline (not a solid letter). I have searched the mailing list archives and online help but

Re: [PHP] redirect to another page in PHP???

2001-07-19 Thread Paul Strange
Doug, Have you tried using a raw header? Something like this: header ("Location: http://www.site.com/newpage.php";); or header ("Location: newpage.php"); more details can be found at: http://www.php.net/manual/en/function.header.php Good Luck, -- Paul Strange Lead Programmer Level 67 LC --- eM

Re: [PHP] Fonts with PDFlib

2001-07-19 Thread Chris Fry
Here's the magic code:- putenv("PDFLIBRESOURCE=/usr/local/apache/htdocs/fonts/pdflib.upr"); This works well. Chris James Willard wrote: > Hello, > > I have what should be a fairly simple question, but it's something I've been > struggling with for the past couple of days. Whenever I create a

RE: [PHP] Fonts with PDFlib

2001-07-19 Thread James Willard
Chris, I already had: PDF_set_parameter($pdf, "resourcefile", "/usr/local/fonts/pdflib.upr"); in the .php file. I went ahead and added the putenv() function in too, but it didn't make a difference, the fonts are still hollow. I have copied the fonts/ directory of PDFlib-4.0.1 to /usr/local and

Re: [PHP] Fonts with PDFlib

2001-07-19 Thread Chris Fry
James, Have you set text rendering? I thought that the default was for solid text but maybe.. pdf_set_value($pdf, "textrendering", 1); will give you outline text, 0 for fill (default) or:- pdf_set_text_rendering -- Determines how text is rendered Description void pdf_set_text_rendering (int

RE: [PHP] Fonts with PDFlib

2001-07-19 Thread James Willard
Chris, That did it! Thanks. That must have found its way in there from some of the example code I was looking at when initially creating the page. I greatly appreciate your help and keeping me from losing my mind :). Thanks, James Willard [EMAIL PROTECTED] -Original Message- From: Chri

[PHP] Help..Parse error

2001-07-19 Thread Jack Sasportas
I have some code that runs under php3, but under 4 I get a parse error on this specific line, can't figure out how to resolve it. the code looks like this the error is in the middle line which is the end of a condition... Thanks in advance... -- ___

Re: [PHP] Help..Parse error

2001-07-19 Thread Steve Edberg
My guess is that you have the short_open_tags option on in your PHP3 config, but off in your PHP4 config. If it's off, PHP will only recognize the tags, not . PHP config params can be set in php.ini, .htaccess, and/or Apache httpd.conf files. Scroll down to short_open_tag in http://w

[PHP] Mcrypt Coding Problem

2001-07-19 Thread John Peebles
Hi Everyone, When I try to execute the code below, I don't get any errors, but the data is never decrypted. I have tried tons of different people's code, but to no avail. Any help would be appreciated. Here is my code: $data= mcrypt_ecb(MCRYPT_TripleDES, $key, $data, ENCRYPT); echo "data: $data";

Re: [PHP] php 4.0.6

2001-07-19 Thread Rasmus Lerdorf
Did you compile php using --with-readline ? On Thu, 19 Jul 2001, Adrian D'Costa wrote: > Hi, > > I am trying to use the socket or readline functions but get a message: > call to undefined function readline(). Why? Is this not implemented in > 4.0.6. > > Adrian > > > -- PHP General Mailing L

Re: [PHP] Help..Parse error

2001-07-19 Thread Jack Sasportas
Actually that is the default setting under 4, and the rest of the code works with the short tags, it's definately something code related... I don;t think it likes that code, but can't find anything to help me resolve the problem. I was hoping not to re-write the code just yet... Thanks Steve Edb

Re: [PHP] php hosting provider that supports libswf module?

2001-07-19 Thread Rasmus Lerdorf
> Does anyone know of a reputable PHP web hosting company that also > supports the libswf (i.e. Flash) module? > > And, specifically, does anyone know if Pair.com does/doesn't? (yes, I'm > going to ask them directly as well) Any provider which runs on a sane platform and doesn't disable the dl()

Re: [PHP] redirect to another page in PHP???

2001-07-19 Thread Dave Freeman
On 20 Jul 01, at 0:03, Doug wrote: > Ok maybe I'm just retarded and can't find it but I'm looking for a way to > do a redirect in a php page to another page, similar to asp's > "response.redirect" function. Is there one in php??? No doubt there's plenty of options... here's what I'm using: I h

[PHP] Simple (I hope) updating contents question

2001-07-19 Thread Er Galvão Abbott
Greetings. First of all I'm a PHP bginner so take it easy on me :) I'm trying to make a script that does the following: * open a text file * read its contents * For each line on the file make a input tag with its contents, like * Take the modified contents - modifyied in the input fields - and

[PHP] (in spanish) a goog "whatever you want" editor

2001-07-19 Thread Aniceto Lopez
[sorry amigos, this is in spanish] hola Mauricio: bien, en esto de los gustos sobre soft cada uno tiene sus preferencias hay alguna web donde probar el Emacs este? lo que daria por unos buenos tacos y unos chapulines rebien tostaditos con una corona bien fria!!! ¿de Veracruz? (hace 5 años visi

<    1   2   3