[PHP] Re: php created pages's create time

2002-08-27 Thread lin
Dear Sir, we use php4.1.1+apache put html pages to IE from mysql DB, We find the created pages's create time is not availability, this let me a lot of discommodity, our webpage cann't index in yahoo etc. search engine. please help me, let me know how to avoid it. Mr.lin -- PHP General

[PHP] php created pages's create time

2002-08-27 Thread lin
Dear Sir, we use php4.1.1+apache put html pages to IE from mysql DB, We find the created pages's create time is not availability, this let me a lot of discommodity, our webpage cann't index in yahoo etc. search engine. please help me, let me know how to avoid it. Mr.lin -- PHP General

[PHP] PHP: XML/XSL

2002-08-27 Thread Alia Mikati
Hi everybody, I'm using Sablotron to transform XML with XSL and this is the PHP file: ?PHP $strXhtml = ?xml version=\1.0\?\n; $strXhtml = $strXhtml . htmlbody\n; $strXhtml = $strXhtml . pbfont color=\#800080 \Balance:/font/b/p\n; $strXhtml = $strXhtml . p align=\left\input type=\text\

Re: [PHP] Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread hugh danaher
IFF they just left one of your other sites, then you should be able to pass a variable in the other site's header such as: php.net/function-name?variable=from_somewhere_I_own if the variable isn't set, then they came from a site you don't own. or you could send them to a unique function-name

[PHP] PHP - Chat?

2002-08-27 Thread Andy
HI there, I am wondering if a Chat coded in PHP would be sufficiant for a medium sized site. Maybe someone has a working example online. It would be no problem to get a ircdeamon working, just the client is in question. Thank you for your suggestions, Andy -- PHP General Mailing List

Re: [PHP] php created pages's create time

2002-08-27 Thread Rasmus Lerdorf
So use the Header() function to send an appropriate Last-Modified timestamp. PHP can't possibly do that automatically as it does not know the last modication time of the actual dynamic data that you send. -Rasmus On Tue, 27 Aug 2002, lin wrote: Dear Sir, we use php4.1.1+apache put html

Re: [PHP] Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Andy
Thanx for your answer. This is exactly the problem. I do not want to pass something like this. The user gets a URL like: server.com/user-name He passses it around and someone follows this link to my site. In case this person registeres I am tracking this. But the same links are inside my own

[PHP] exec problem

2002-08-27 Thread Mark
i'm basicly trying to execute an executeable with this following script. $command = ../theApp/theapp; exec ( $command , $ValueIn, $ValueOut); echo $ValueOut; I'm getting a value of 0 returned, but from a command line the executable works fine and does what it is suposed to do is there any

Re: [PHP] Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Justin French
$_SERVER['HTTP_REFERRER'] (or is it $_ENV['HTTP_REFERRER']?) is your only option. Unfortunately it's not guaranteed to be set by the browser, so your current method of accepting and tracking referrers is flawed, sorry. A page.php?aid=x entry point, combined with sessions or cookies to keep

[PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Andy
All righty! I found the solution: It might be for help to some other folkes. Here is the code which solves the problem: #make sure he is not referred by our one website if (!ereg($HTTP_HOST, $_SERVER[HTTP_REFERER])){ #set referer cookie

[PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Andy
Hello Justin, I just saw that you have been faster than me :-) However.. you think it might be not sure that this workes for every browser? PUh... thats bad. Do u have examples for that? It workes with IE on PC. Cheers Andy Andy [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL

[PHP] Re: exec problem

2002-08-27 Thread Anders K. Madsen
I'm getting a value of 0 returned, but from a command line the executable works fine and does what it is suposed to do is there any other way i can do this or ami i doing it work ?? Well, as far as I know, command-line returnes 0 on success and other on failure. So if your exec ( $command,

[PHP] Re: PHP - Chat?

2002-08-27 Thread Bogdan Stancescu
Check freshmeat - there are a couple of more than reasonable such projects (unfortunately I don't remember the names, but I checked some out and they seemed ok). Bogdan Andy wrote: HI there, I am wondering if a Chat coded in PHP would be sufficiant for a medium sized site. Maybe someone

[PHP] imagecreatefrompng...fails

2002-08-27 Thread David Herring
Trying to install apache 1.3.26 plus PHP 4.2.2 installed and cannot get the libpng stuff to work with GD in the apache error log I get:- [Tue Aug 27 09:31:10 2002] [notice] child pid 6825 exit signal Segmentation fault (11) [Tue Aug 27 09:31:10 2002] [notice] child pid 6824 exit signal

[PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Bogdan Stancescu
Justin is right, there's no guarantee the referrer will be set. What you can do however is have a common pre-registration page you link to from everywhere on the site - and set some variable there to acknowledge they came from the site - and give members the direct address to the registration

[PHP] array_push

2002-08-27 Thread Michal Dvoracek
Hello, why this array_push($x ? $a : $b, 'value'); produce error(Fatal error: Only variables can be passed by reference) ?php $x = 1; #$x = 0; $a = array(); $b = array(); array_push($x ? $a : $b, 'value'); i must rewrote this in if ($x) array_push($a, 'value'); else array_push($b,

Re: [PHP] Re: Tricky question - referrer from ousite, or fromintern?

2002-08-27 Thread Justin French
on 27/08/02 7:00 PM, Andy ([EMAIL PROTECTED]) wrote: However.. you think it might be not sure that this workes for every browser? PUh... thats bad. Do u have examples for that? It workes with IE on PC. I don't actually know of any that don't set the referrer, and probably 99% of your vistors

Re: [PHP] exec problem

2002-08-27 Thread Andrew Brampton
If you are trying to receive the output of the command line you can use the backtick notation $list = `ls`; Hope that helps Andrew Mark [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i'm basicly trying to execute an executeable with this following script.

RE: [PHP] Re: Tricky question - referrer from ousite, or from intern?

2002-08-27 Thread Matt Schroebel
However.. you think it might be not sure that this workes for every browser? PUh... thats bad. Do u have examples for that? It workes with IE on PC. Well, the HTTP 1.1 spec says it shouldn't be set when it's typed into the address line. That happens often enough that it can't be relied

[PHP] Re: sessions?

2002-08-27 Thread CHAILLAN Nicolas
Mark Faine [EMAIL PROTECTED] a écrit dans le message de news: 8ioeq3$kg2$[EMAIL PROTECTED] Linux Mandrake 7.1 Apache/PHP4 I'm trying to implement this mysql session scheme as describe here: http://phpbuilder.com/columns/ying2602.php3 A.) my sessions are not being saved into the

[PHP] PHP xml: urgent!

2002-08-27 Thread Alia Mikati
Hello, I have an HTML file. I want to transform it to XML then filter it and transform it to another XML file. I used Sablotron with PHP to apply XSL to XML to filter the XML file. But I'm facing problems when I want to transform HTML to XML. I used TIDY but it seems it transforms to XHTML in

[PHP] php and xml

2002-08-27 Thread Alia Mikati
Hello What's the best to convert HTML to XML that I can use in PHP Thx a lot -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP: User Authentication Script

2002-08-27 Thread Anthony Ritter
Thank you for the reply Farianto. Exactly where in the httpd.conf file should I insert that line? If you could copy and paste the line *above* and *below* in the httpd.conf file that already exists so I know the location I would appreciate it. Thanks again. TR for example: # blahblah1

[PHP] use VB DLL (COM object) with php

2002-08-27 Thread Franky
I try to use a simple COM write in VB ... == Option Explicit Dim sc As ScriptingContext Sub OnStartPage(AspSC As ScriptingContext) Set sc = AspSC End Sub Public Function ecrire() sc.Response.Write Voici mon super texte End Function

RE: [PHP] Date conversion problems

2002-08-27 Thread Liam . Gibbs
mktime generally only works thru 2037. Why not create an array of the months, and index in: $months = array('Jan','Feb',); $enddate = explode(-, $datereuslt[0]); $finaldate = $months[$enddate-1] . -$enddate[1]; That's what I thought I might have to do. It's an alternative, but a

[PHP] getting directory info

2002-08-27 Thread Alexander Ross
Can I use php to get a list of all the jpgs in a folder? I want to make a photo album type thing for a website, and I want it to be real simple (i.e. you put photos (jpgs) in a folder called photos and upload them. Then the album is built dynamically using php. Thoughts? -- PHP General

[PHP] problem with using include files

2002-08-27 Thread Ivan Carey
Hello The problem I have when using include files is the path to different parts of the web site. To Explain: I have a header.inc file in an inc directory: root |___inc | |___header.inc | |___images | |___topbar_01.gif | |___faq |___faq.php In the header.inc file

Re: [PHP] problem with using include files

2002-08-27 Thread Stas Maximov
img name=topbar_01 src=/images/topbar_01.gif width=783 height=56 This should help you. This way the browser will look for images directory in the root of your webserver. Regards, Stas - Original Message - From: Ivan Carey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 27,

Re: [PHP] getting directory info

2002-08-27 Thread Jason Wong
On Tuesday 27 August 2002 20:51, Alexander Ross wrote: Can I use php to get a list of all the jpgs in a folder? manual - Directory functions I want to make a photo album type thing for a website, and I want it to be real simple (i.e. you put photos (jpgs) in a folder called photos and

[PHP] move_uploaded_file problem

2002-08-27 Thread David Rothe
I'm trying to enable my site users to upload pictures (using the move_uploaded_file function) This works fine on my home development machine but 'not' on the deployment server. This is a shared server with 'safe mode' enabled. (The php manual seems to suggest that it should still work despite

Re: [PHP] PHP - Chat?

2002-08-27 Thread Adam Williams
look around for phpmychat Maybe its on freshmeat.net? Adam On Tue, 27 Aug 2002, Andy wrote: HI there, I am wondering if a Chat coded in PHP would be sufficiant for a medium sized site. Maybe someone has a working example online. It would be no problem to get a

[PHP] Compiling PHP with Sablot support

2002-08-27 Thread Dan Hardiker
Hi All, I have PHP-4.3.0(dev) [php cvs version] and have the following configure: ../configure --with-mysql=/usr/local/ --with-gd=/usr/local/ --with-openssl --with-curl --enable-ftp --with-dom --with-xml --enable-trans-sid --enable-sockets --enable-wddx --with-zlib --with-mcrypt=/usr/local/

Re: [PHP] PHP - Chat?

2002-08-27 Thread Adam Voigt
PHPOpenChat: http://phpopenchat.sourceforge.net/ Very good. Adam Voigt [EMAIL PROTECTED] On Tue, 27 Aug 2002, Andy wrote: HI there, I am wondering if a Chat coded in PHP would be sufficiant for a medium sized site. Maybe someone has a working example online. It would be no problem

Re: [PHP] Compiling PHP with Sablot support

2002-08-27 Thread Stas Maximov
Hi, There should be a new entry like XSLT enabled under XML enabled in your PHPinfo in case of successful set-up. I'm not very familiar with the Unix build, but just to be sure can you check if you uncommented the xslt extension in your php.ini file (if any)? HTH, Stas - Original Message

Re: [PHP] Compiling PHP with Sablot support

2002-08-27 Thread Dan Hardiker
There should be a new entry like XSLT enabled under XML enabled in your PHPinfo in case of successful set-up. Thats what Im looking for, but cant find it... however the configure line still says its in there. I'm not very familiar with the Unix build, but just to be sure can you check if

Re: [PHP] PHP: User Authentication Script

2002-08-27 Thread @ Edwin
You can insert the line at the very end of your httpd.conf file... I'm sure you can find more info here... http://www.php.net/manual/en/install.windows.php - E Thank you for the reply Farianto. Exactly where in the httpd.conf file should I insert that line? If you could copy and paste

Re: [PHP] move_uploaded_file problem

2002-08-27 Thread @ Edwin
There could be a lot of different reasons why. Check the manual again (esp. the user's comments). I'm sure you'll find a lot of ideas. http://www.php.net/manual/en/features.file-upload.php Also, this has been discussed many times recently. I'm sure you'll find a lot too in the archives. :)

Re: [PHP] search in serialized string

2002-08-27 Thread DL Neil
Rodrigo, Yuk! No wonder I was having trouble visualising your problem... The serialised field cannot be meaningfully indexed (it's a waste of time if it is). That means that any search against a criteria involving a/the serialised field will require (the time to perform an) the examination of

[PHP] flaking out on foreach

2002-08-27 Thread ROBERT MCPEAK
Why is this code: ?php $bob=array(1,2,3,5,6); foreach($bob as $foo); { echo $fooBR; } ? Rendering only 6.

[PHP] Re: flaking out on foreach

2002-08-27 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Robert McPeak) wrote: Why is this code: ?php $bob=array(1,2,3,5,6); foreach($bob as $foo); { echo $fooBR;

RE: [PHP] flaking out on foreach

2002-08-27 Thread Matt Schroebel
From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 11:08 AM Subject: [PHP] flaking out on foreach Why is this code: ?php $bob=array(1,2,3,5,6); foreach($bob as $foo);

Re: [PHP] flaking out on foreach

2002-08-27 Thread Adam Voigt
Don't put a semicolon after the foreach. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-08-27 at 11:07, ROBERT MCPEAK wrote: Why is this code: ?php $bob=array(1,2,3,5,6); foreach($bob as $foo);

Re: [PHP] flaking out on foreach

2002-08-27 Thread Gerard Samuel
Bad code. Take the ';' off the end of the foreach... ROBERT MCPEAK wrote: Why is this code: ?php $bob=array(1,2,3,5,6); foreach($bob as $foo); { echo $fooBR;

RE: [PHP] Re: An if statment that someone else designed and I can't parse ;(

2002-08-27 Thread Mike
I can't use this because there is some other stuff that is also in % signs... The whole line is as thus: $string = a href=\{$_SERVER['PHP_SELF']}?thing=doid=%number%\%some% - %stuff% %if%%artist%?(%artist% Minutes):\WAH!\%if%/a; So doing an explode on all the % signs would not work

[PHP] sending email to a mailing list

2002-08-27 Thread Raphael Hamzagic
Hi everyone, I'm with a little doubt about the best way to send a mail message to a large mailing list using PHP. I'm not interested in existing mailing list managers, or source codes. I dont know if the best way to send emails is to use a repeat loop with mail() function, or use some other

[PHP] PHPSESSID appended to URL on initial page load

2002-08-27 Thread Monte Ohrt
Hi, I have a few questions with php sessions, below is an example script: test_sess.php - ?php session_cache_limiter(); session_start(); ? A HREF=/local/path.phplocal path/A When I initially load the file (session cookie gets set), the HREF link gets the PHPSESSID appended to

Re: [PHP] PHPSESSID appended to URL on initial page load

2002-08-27 Thread Gerard Samuel
Actually, over the weekend, I started using sessions in my scripts. All I did was start it using session_start(); I only noticed this behaviour using Opera 6.02 Linux browser running under FBSD 4.6-Stable. (It may have happened in mozilla 1.0 r3, but I may have not paid attention to it). I load

RE: [PHP] Re: HTML-based mail with PHP

2002-08-27 Thread Liam . Gibbs
I've seen this before. I believe it had something to do with Microsoft's screwed up cacheing routine. No guarantees, but delete the contents of your temporary internet files folder and try again. No, that wasn't it. I'm using a newer computer now, and I just tried it. -- PHP General

[PHP] Re: MySQL PASSWORD() Question

2002-08-27 Thread Tony Harrison
cheers Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... If I insert a row's field's value using the PASSWORD() function, will I need to use it or another function to find that row using the same field? You'll need to do this when somebody tries to log in later:

php-general Digest 27 Aug 2002 17:21:48 -0000 Issue 1550

2002-08-27 Thread php-general-digest-help
php-general Digest 27 Aug 2002 17:21:48 - Issue 1550 Topics (messages 114217 through 114269): Re: pattern matching urls 114217 by: Justin French Re: Date conversion problems 114218 by: David Robley 114245 by: Liam.Gibbs.dfait-maeci.gc.ca Re: Output Compression

RE: [PHP] PHP: User Authentication Script

2002-08-27 Thread Vail, Warren
Sounds like you've identified your problem. I have never installed a module but you can check out http://www.apache.org/ for some help installing modules on the Apache server. I believe it involves compiling the server, for Windows platforms I believe you need Visual C++ 6.0. If that is to

[PHP] file reading

2002-08-27 Thread phper
how do I read the contents of a file. $FileStream = fopen(webmaster/forum.$Forum./forumtopics.txt, w+); $line = fgetss ($FileStream, 255); print (number is: .$line. br ); fclose($FileStream); always returns nothing -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: file reading

2002-08-27 Thread Philip Hallstrom
You want r instead of w+. I'd suggest reading the Filesystem Functions section of the manual again... good luck! -philip On Tue, 27 Aug 2002, phper wrote: how do I read the contents of a file. $FileStream = fopen(webmaster/forum.$Forum./forumtopics.txt, w+); $line = fgetss

RE: [PHP] file reading

2002-08-27 Thread Brad Dameron
'w+' - Open for reading and writing; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it. Change it to r since you are only reading. Also check to make sure your pathing is correct. --- Brad Dameron

[PHP] Newbie,module or CGI and server question

2002-08-27 Thread Ryan A
Hi, I just installed PHP via PHPTriad...I have a couple of simple questions I hope you can answer 1)How do i know if this is running a module or cgi version? I own 3 dot coms which are not being hosted...too expensive :-(( no job..:-(( 2)How can i host a test site on this? (I am on

[PHP] exif_thumbnail() problems

2002-08-27 Thread hrd
Ok, I recently recompiled PHP with GD and exif support. Now, I wanted to test exif_thumbnail() so created an jpeg image which had an embedded thumbnail. I used the exif_thumbnail() example at the php.net website, but it returns errors. The first error I get is an incorrect parameter count when

[PHP] php_flag not valid?

2002-08-27 Thread Steve Fox
I'm using Apache 2.0.40 with PHP 4.2.2 from Red Hat Linux 8.0 beta 3 (null). php_value statements in my httpd.conf work fine, but php_value is not recognized, giving the error message below: Starting httpd: Syntax error on line 336 of /etc/httpd/conf/httpd.conf: Invalid command 'php_flag',

Re: [PHP] php_flag not valid?

2002-08-27 Thread Rasmus Lerdorf
Known Apache 2.0 related bug. Not sure anybody is looking at it. On 27 Aug 2002, Steve Fox wrote: I'm using Apache 2.0.40 with PHP 4.2.2 from Red Hat Linux 8.0 beta 3 (null). php_value statements in my httpd.conf work fine, but php_value is not recognized, giving the error message below:

Re: [PHP] php_flag not valid?

2002-08-27 Thread Steve Fox
On Tue, 2002-08-27 at 14:45, Rasmus Lerdorf wrote: Known Apache 2.0 related bug. Not sure anybody is looking at it. :( At least I can quit banging my head against my keyboard now :) Thanks much Rasmus. -- Steve Fox IBM Linux Technology Center http://www.ibm.com/linux/ltc http://k-lug.org

[PHP] Are sessions affected by Unix user changes?

2002-08-27 Thread K Soares
Are sessions in PHP somehow affected by changes in Unix users? I know that the only recent changes to the server have been the addition of a few Unix users and the changing of some older passwords, but now sessions do not work within PHP. Is a session related to a web (default?) user? K. --

[PHP] Just learning . . . HTML Form PHP

2002-08-27 Thread April Lougheed
Dear forum: I'm trying to do several basic things with an HTML form and PHP. So far, I've gotten the form to write to a MySQL database, send email and echo the fields after the form is submitted. Next I'd just like to confirm that the fields are not blank and send a custom error message. But

[PHP] '#' character breaking the URL string

2002-08-27 Thread Joseph Szobody
I have a 5-step (5 page) process in which users must answer various questions. Each page passes along the data to the next page, at the same time capturing the data from the previous page and passing that along too. To capture all the data submitted previously, I have the following code: $a =

[PHP] GD 1.8.4

2002-08-27 Thread Zach Curtis
I have spent most of the day trying to get gd 1.8.4, freetype2, libpng, zlib, and jpeg-6b to work with PHP 4.0.6 running on Solaris 7. I am not to yet to point of configuring this with PHP. I can't get 'make' to run on gd 1.8.4: gdft.c:36: freetype/freetype.h: No such file or directory

Re: [PHP] GD 1.8.4

2002-08-27 Thread Rasmus Lerdorf
GD1 uses Freetype 1 and you appear to have Freetype2. Grab GD2 instead. On Tue, 27 Aug 2002, Zach Curtis wrote: I have spent most of the day trying to get gd 1.8.4, freetype2, libpng, zlib, and jpeg-6b to work with PHP 4.0.6 running on Solaris 7. I am not to yet to point of configuring this

[PHP] Re: sending email to a mailing list

2002-08-27 Thread Manuel Lemos
Hello, On 08/27/2002 12:38 PM, Raphael Hamzagic wrote: Hi everyone, I'm with a little doubt about the best way to send a mail message to a large mailing list using PHP. I'm not interested in existing mailing list managers, or source codes. I dont know if the best way to send emails is to

[PHP] filter records... how?

2002-08-27 Thread Matt Zur
I have this set of code. and what I want to know how to do is how to filter one or more vars in the flat file? For example filter all the people that work at night I'm assuming it has to be in this part of the code: for($i = 0; $i count($arr_lines); $i++) { $arr_data = explode($delim,

[PHP] Please helpme !! files problems..

2002-08-27 Thread Sebastian Tomasino
Hi! Sorry for this stupid question but i am a begginer learning from a old book (dangerous combination), So i have to convert every example to not use old methods... I have to problems and i look every where and could not resolve. firstone: i have a form like this... form

[PHP] Re: array_push

2002-08-27 Thread Richard Lynch
why this array_push($x ? $a : $b, 'value'); produce error(Fatal error: Only variables can be passed by reference) ?php $x = 1; #$x = 0; $a = array(); $b = array(); array_push($x ? $a : $b, 'value'); i must rewrote this in if ($x) array_push($a, 'value'); else array_push($b, 'value');

[PHP] Re: problem with using include files

2002-08-27 Thread Richard Lynch
The problem I have when using include files is the path to different parts of the web site. To Explain: I have a header.inc file in an inc directory: root |___inc | |___header.inc You may want to move your include files outside the web tree so that malicious users can't surf directly

[PHP] Re: getting directory info

2002-08-27 Thread Richard Lynch
Can I use php to get a list of all the jpgs in a folder? I want to make a photo album type thing for a website, and I want it to be real simple (i.e. you put photos (jpgs) in a folder called photos and upload them. Then the album is built dynamically using php. Thoughts?

[PHP] Re: PHPSESSID appended to URL on initial page load

2002-08-27 Thread Richard Lynch
disable URL rewriting altogether and rely soley on cookies. How do I disable PHP session URL rewriting? I don't see a setting in php.ini for it. ; use transient sid support if enabled by compiling with --enable-trans-sid. session.use_trans_sid = 1 This one. -- Like Music?

[PHP] Re: pattern matching urls

2002-08-27 Thread Richard Lynch
Just wanting some advice on something im doing, basically im storing news into mysql and what i want to do is, when the news is displayed, if a url is in there ie(http://www.blahblah.com OR mailto:[EMAIL PROTECTED]) it will automatically be displayed as a link, im considering using preg_match for

[PHP] Re: Newbie,module or CGI and server question

2002-08-27 Thread Richard Lynch
Hi, I just installed PHP via PHPTriad...I have a couple of simple questions I hope you can answer 1)How do i know if this is running a module or cgi version? ?php phpinfo();? Look at the output in the top part. You'll see CGI or ISAPI or ASAPI or whatever. There's also a built-in

[PHP] Re: exif_thumbnail() problems

2002-08-27 Thread Richard Lynch
Can't help with the exif stuff. I tried using imagecreatefromjpeg() but that tells me theres no such function. That means you forgot the --with-jpeg-dir when you did the --with-gd or the --with-gd never kicked in properly or... Basically, you didn't configure right, so go back to that stage.

[PHP] Re: Are sessions affected by Unix user changes?

2002-08-27 Thread Richard Lynch
Are sessions in PHP somehow affected by changes in Unix users? I know that the only recent changes to the server have been the addition of a few Unix users and the changing of some older passwords, but now sessions do not work within PHP. Is a session related to a web (default?) user? Session

[PHP] Re: '#' character breaking the URL string

2002-08-27 Thread Richard Lynch
I have a 5-step (5 page) process in which users must answer various questions. Each page passes along the data to the next page, at the same time capturing the data from the previous page and passing that along too. To capture all the data submitted previously, I have the following code: $a =

[PHP] Re: Just learning . . . HTML Form PHP

2002-08-27 Thread Richard Lynch
Next I'd just like to confirm that the fields are not blank and send a custom error message. But I think I'm confused about where to place the code. Where you currently have if ($send != no){ ... } you could tack on something like: else{ echo $name_err; echo $email_err; echo

[PHP] Re: filter records... how?

2002-08-27 Thread Richard Lynch
I have this set of code. and what I want to know how to do is how to filter one or more vars in the flat file? For example filter all the people that work at night Honestly, you'd be best off moving the data into a database (MySQL or otherwise)... At this point, you're starting to do a lot

[PHP] Re: Please helpme !! files problems..

2002-08-27 Thread Richard Lynch
Hi! Sorry for this stupid question but i am a begginer learning from a old book (dangerous combination), So i have to convert every example to not use old methods... I have to problems and i look every where and could not resolve. firstone: i have a form like this... form

[PHP] bulk mail

2002-08-27 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I know a lot has been discussed in this topic, but I still don't find any solution. What I want to do is send a lot of mails triggered from a web page using php. I've found diferent solutions but all of them has some problem: 1) using

RE: [PHP] GD 1.8.4

2002-08-27 Thread Zach Curtis
OK. I ran 'make install' for GD 2.0.1 and that seemed to go smoothly. Thanks. Zach -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 2:42 PM To: Zach Curtis Cc: [EMAIL PROTECTED] Subject: Re: [PHP] GD 1.8.4 GD1 uses Freetype 1 and you

[PHP] Re: '#' character breaking the URL string

2002-08-27 Thread Joseph Szobody
Thanks. That's what I needed. Joseph Richard Lynch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I have a 5-step (5 page) process in which users must answer various questions. Each page passes along the data to the next page, at the same time capturing the data from the

[PHP] php indenter

2002-08-27 Thread Gui Guy
what is a good php indenter/beautifier? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] People's Opinion

2002-08-27 Thread Christopher J. Crane
This is a little off topic, but I am desperate. I am looking for a good PHP/MySQL chat that is not in a bunch of frames. I have from WebChat (http://www.webdev.ro/) but it has a bunch of runtime erros. If anyone has this working or they know of another that works well please send me a link or

[PHP] PHP with Sql Server

2002-08-27 Thread Skyhawk
Please, How do I make to access a database Sql Server 2000? Thaks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] time stamp

2002-08-27 Thread Steve Buehler
I am using PHP with MySQL and have a timestamp field in my db table. What would be the easiest way to get the newest timestamp out of the db? Thanks in Advance Steve -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ow3 -- PHP

[PHP] Re: Host

2002-08-27 Thread Christopher J. Crane
cedant web hosing...cedant.com. They will bill you and you can pay by check and with Mysql databse I think they are 12.00 Bruce Karstedt [EMAIL PROTECTED] wrote in message 003b01c24e2b$7a9c9e80$7772d73f@c3">news:003b01c24e2b$7a9c9e80$7772d73f@c3... Anyone care to recommend a host as follows:

Re: [PHP] bulk mail

2002-08-27 Thread Justin French
on 28/08/02 9:17 AM, Pupeno ([EMAIL PROTECTED]) wrote: I know a lot has been discussed in this topic, but I still don't find any solution. What I want to do is send a lot of mails triggered from a web page using php. I've found diferent solutions but all of them has some problem: 1) using

Re: [PHP] Host

2002-08-27 Thread Liam MacKenzie
What's your site about? I can do all that for free if if it's: - Non-Profit - Personal homepage - PHP Dev. Apache, PHP, MySQL on Slackware 8.1 98% Uptime, 2 Meg pipe based in Brisbane, Australia. I allow external MySQL DB Access, FTP, mail(), DNS hosting and unlimited POP3 accounts. BUT...

Re: [PHP] Host

2002-08-27 Thread Justin French
Experthost.com allows payment by cheque, but the service is withheld until the cheque clears (understandable). Justin on 28/08/02 10:40 AM, Bruce Karstedt ([EMAIL PROTECTED]) wrote: Anyone care to recommend a host as follows: Unix PHP MySQL Domain Reg. No unusual size or traffic

Re: [PHP] sending email to a mailing list

2002-08-27 Thread Justin French
on 28/08/02 1:38 AM, Raphael Hamzagic ([EMAIL PROTECTED]) wrote: I'm with a little doubt about the best way to send a mail message to a large mailing list using PHP. I'm not interested in existing mailing list managers, or source codes. I dont know if the best way to send emails is to use a

Re: [PHP] PHP with Sql Server

2002-08-27 Thread Jerome Houston
http://www.php.net/manual/en/function.mssql-connect.php From: Skyhawk [EMAIL PROTECTED] Please, How do I make to access a database Sql Server 2000? Thaks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Host

2002-08-27 Thread Liam MacKenzie
I also work for a webhosting company, if you need corporate hosting, I can help you there too. Low rates, payable by check... Fibre Optic pipe Slackware 8.1 Apache 1.3.26 PHP 4.2.2 MySQL Perl 1.27 POP3 Accounts Admin console FTP Access Contact me on [EMAIL PROTECTED] if you're interested. I'm

[PHP] Re: Command Line

2002-08-27 Thread Trevor Tregoweth
Hi I am very new to mysql, so any help please how to drop tables from a database from the command line i have 6 tables in there, and need to be able to flush all the data out, (of 2 tables only) so there might be another way Thanks Trevor -- PHP General Mailing List

[PHP] Re: Command Line

2002-08-27 Thread Gerald R. Jensen
Trevor ... Do you want to drop the tables, or simply delete the data in them and retain the table structure? To delete data ... USE databasename; DELETE * FROM tablename; To drop tables ... DROP TABLE [IF EXISTS] tablename1 [, tablename2,...] [RESTRICT | CASCADE] If you drop a

Re: [PHP] Re: Command Line

2002-08-27 Thread Adam Williams
if you just wanna delete everything from the tables you can do DELETE FROM table_name; for each table. or you can do DROP table_name; for each one but then you have to re-create each table that you drop with CREATe TABLE ( stuff here ); Only use DROP table_name; if you know the structure of

[PHP] Re: People's Opinion

2002-08-27 Thread Bogdan Stancescu
Christopher J. Crane wrote: This is a little off topic, but I am desperate. I am looking for a good PHP/MySQL chat that is not in a bunch of frames. I have from WebChat (http://www.webdev.ro/) but it has a bunch of runtime erros. If anyone has this working or they know of another that works

[PHP] JOB: Senior Developer, Washington DC Area

2002-08-27 Thread Alok K. Dhir
We have an immediate opening for an experienced web application developer (read guru) who meets or exceeds the following criteria: Required skills (2.5+ years): - Large scale, highly available applications development on Unix/Linux platform - PHP - Perl - SQL

Re: [PHP] Are sessions affected by Unix user changes?

2002-08-27 Thread Jason Wong
On Wednesday 28 August 2002 03:51, K Soares wrote: Are sessions in PHP somehow affected by changes in Unix users? I know that the only recent changes to the server have been the addition of a few Unix users and the changing of some older passwords, but now sessions do not work within PHP.

Re: [PHP] Just learning . . . HTML Form PHP

2002-08-27 Thread Jason Wong
On Wednesday 28 August 2002 03:51, April Lougheed wrote: Next I'd just like to confirm that the fields are not blank and send a custom error message. But I think I'm confused about where to place the code. The two files below are the HTML and PHP files that are working. The third file

  1   2   >