[PHP] RE: PHP 4.2.3 and Apache 2.0.43 on FreeBSD 4.7

2002-11-03 Thread Peter Black
Hello, I have been running into problems getting Apache 2.0.43 to work with PHP 4.2.3 as a module. The following is the error I get ... Cannot load /usr/local/APACHE/modules/libphp4.so into server: /usr/local/APACHE/modules/libphp4.so: Undefined symbol pthread_getspecific Having said that, I

php-general Digest 3 Nov 2002 08:44:23 -0000 Issue 1682

2002-11-03 Thread php-general-digest-help
php-general Digest 3 Nov 2002 08:44:23 - Issue 1682 Topics (messages 122532 through 122546): Re: Problem with is_dir function 122532 by: Andrew Brampton 122533 by: Roger Lewis XSLT Sablotron output 122534 by: Daniele Baroncelli Send $out embedded in a mail in HTML

[PHP] Send mail in HTML FORMAT

2002-11-03 Thread Kevin Fradkin
I read from a template, insert data and save it as a new file with html code... i want to send that file that is the same as $out via mail embedded in it... i do $fifi = fopen ('/'.$cursada.$cuatrimestre.'/'.$registronro.'.htm', w); $fp = $fifi; fputs ($fifi, $out . ); fclose ($fifi);

[PHP] Variables

2002-11-03 Thread Bryan McLemore
What is a variables value before said value has been assigned a value? Thanks Bryan

Re: [PHP] Cookies disabled, new session ID each click!

2002-11-03 Thread Steve Fatula
Not using trans_sid, but it is set for this example and it doesn't matter either way, intentionally putting the SID on the link myself, this is the way the vendor software is set up. So, I want someone to run this example, and see if it works for them, and if it does, what might be the reason

[PHP] Re: Variables

2002-11-03 Thread David Jackson
Bryan McLemore wrote: What is a variables value before said value has been assigned a value? Thanks Bryan Wouldn't it be null or empty ? Just a guess, David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how can me know the disbaled functions in php?

2002-11-03 Thread Alawi
How can me know?

Re: [PHP] how can me know the disbaled functions in php?

2002-11-03 Thread Rasmus Lerdorf
phpinfo() On Sun, 3 Nov 2002, Alawi wrote: How can me know? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables

2002-11-03 Thread Hugh Danaher
Bryan, I don't think the variable has any value before assignment--it isn't zerro nor is it null. Check the manual for isset() and empty()' Hope this helps. Hugh - Original Message - From: Bryan McLemore [EMAIL PROTECTED] To: PHP - General [EMAIL PROTECTED] Sent: Sunday, November 03,

[PHP] max_ execution_time for scripts launched from command line

2002-11-03 Thread gap
Does the execution time limit apply to scripts that have been launched from the shell command line and run independent from the http server (that is, not as CGI and not through the server module)? If I give a script a shebang line (#!/usr/bin/php -q), and make it executable, will it run for as

[PHP] fread() fails with large files

2002-11-03 Thread Sora B. Harbater
Hi. I am using Linux/Apache with PHP 4.1.2. I have been experiencing this problem since upgrading from an earlier version of PHP 4. My script forces a download of a PDF file after looking up some info in a database. The code looks like this: $file=/path/to/file; $fp = fopen($file, r);

[PHP] what i'm doing wrong? (mysql/php)

2002-11-03 Thread Mr. BuNgL3
I can't validate this two variables ($logintxt, $passwdtxt) ? $logintxt = $HTTP_POST_VARS['logintxt']; $passwdtxt= $HTTP_POST_VARS['passwdtxt']; if (!$logintxt || !$passwdtxt) { include('login.htm'); } else { $ligacao=mysql_connect(localhost,,); if (!$ligacao) { echo html

RE: [PHP] what i'm doing wrong? (mysql/php)

2002-11-03 Thread John W. Holmes
Don't use mysql_db_query() for one. Use mysql_select_db() and mysql_query(). Also, what's the structure of your table and how are you putting the user's login and password in the table. If you're getting that message, then that means there were no rows matched, plain and simple. It could be for

RE: [PHP] Session Management

2002-11-03 Thread John W. Holmes
These were all the same assumptions I made, thanks. I knew that it was more of an HTTP thing than a PHP thing when it came to the blind faith thing... I was just hoping that was something better out there. I'm not willing to use session management as blindly as it is currently implemented.

RE: [PHP] Send $out embedded in a mail in HTML FORMAT

2002-11-03 Thread John W. Holmes
Search the archives or google for HTML email with PHP and you'll get a ton of examples. You just have to send a Content-Type: header to tell the mail reader it's HTML. ---John Holmes... -Original Message- From: Kevin Fradkin [mailto:kfradkin;ciudad.com.ar] Sent: Saturday, November 02,

RE: [PHP] Session Management

2002-11-03 Thread Robert Samuel White
I already know how best to go about this. I've been up too long to explain this now. But since eNetwizard Content Management Server is an open source project, you'll be able to make use of its code if you so choose, just wait till I release the next version. ;-) Session Management for

Re: [PHP] Send $out embedded in a mail in HTML FORMAT

2002-11-03 Thread Jonathan Sharp
search google for 'phpmailer' (I think http://phpmailer.sourceforge.net) -js John W. Holmes wrote: Search the archives or google for HTML email with PHP and you'll get a ton of examples. You just have to send a Content-Type: header to tell the mail reader it's HTML. ---John Holmes...

[PHP] Your opinion on globals/reference

2002-11-03 Thread Gerard Samuel
Something I just thought of about using global in a function. Mostly I global objects in a function like - function foo() { global $bar_object; $bar_object-do_something(); } Is it better, more effiecient, if I pass it by reference, like - function foo($bar_object) {

Re: [PHP] Geographic IP location

2002-11-03 Thread Gerard Samuel
Try GeoIP. http://www.maxmind.com/app/php olinux wrote: Hi all, I am looking for a way to determine the geographic location based on IP address. I understand that 100% accuracy is impossible. Does anyone know of a good software or service provider that provides quality geographic detection

Re: [PHP] Re: need help with project

2002-11-03 Thread Kevin Myrick
Check out FFL on Sourceforge.net. Currently, it is still a standalone PHP app, but in the near/coming soon future they are going to have it as a PHPWebsite Module. That is nice for me, since I have just converted to PHPWebsite (would have used nuke, but it pissed me off when it wouldn't let me do

[PHP] Been looking for a tutorial on how to create themes in general

2002-11-03 Thread Kevin Myrick
Ok, like I stated in my last message, I am using PHPWebsite as my portal system. However, I would like to learn how to do custom themes, because like sooo many aspiring web designers/programmers, I got an imagination a mile long and deep. So, anyone want to point me in the right direction on a

Re: [PHP] Send mail in HTML FORMAT

2002-11-03 Thread Jennifer Swofford
You also need to add the text/html header, such as: $headers = Content-Type: text/html \r\n; mail([EMAIL PROTECTED], subject,$out , From: website, $headers); jen I read from a template, insert data and save it as a new file with html code... i want to send that file that is the same as $out

[PHP] RE: Cookies disabled, new session ID each click!

2002-11-03 Thread Oleg Krogius
You do not need to add any SID to your links. Those will be added automatically by the php session system when needed. -Original Message- From: Steve Fatula [mailto:sfatula;usa.net] Sent: Saturday, November 02, 2002 10:29 PM To: [EMAIL PROTECTED] Subject: Cookies disabled, new session ID

[PHP] Calendar script - help

2002-11-03 Thread Ray Healy \(Data Net Services\)
Dear All I spent days and days on this little project but still cannot get it to work (new to PHP as you might guess). I have a script which is a combination of tutorial scripts and free code to display a calendar with colour coded cells for the events on each day. The only way to enter

[PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread Paul
Perhaps I am blind but I have the following simple code that gets me errors: ?php session_start(); require_once (config.inc); require_once classes/HtmlTemplate.class; if ($HTTP_SESSION_VARS[user_id]){ //do something } else { $message= ***

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread Sascha Cunz
require_once (config.inc); require_once classes/HtmlTemplate.class; The error is: Warning: Cannot add header information - headers already sent by (output started by.. ..line 6) ...on line 12 Line 6 is the line with if ($HTTP_SESSION_VARS[user_id]) Line 12 is

Re: [PHP] Fwd: Quarter question..

2002-11-03 Thread Jim Hatridge
Hi JS et al... Thanks! This was what I was looking for. Also thanks for the color code, much smaller! JIM On Saturday 02 November 2002 18:54, Jonathan Sharp wrote: try this: -js table border=1 ? $i = 0; while ( $myrow = mysql_fetch_array($result) ) { $c = ( ++$i % 2 ? 'yellow'

RE: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread Paul
Yes, I use those in other pages with no problem..it just this page causes some problems.. -Original Message- From: Sascha Cunz [mailto:Sascha;GaNoAn.org] Sent: Sunday, November 03, 2002 1:03 PM To: Paul; [EMAIL PROTECTED] Subject: Re: [PHP] Am I blind? simple 15 line code producing error

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread Sascha Cunz
Yes, I use those in other pages with no problem..it just this page causes some problems.. Do you use Header('Location:...') in those other scripts? I can't see any reason inside the script you posted, that could produce this behaviour. Can you try it without the two require's, just to be

[PHP] ASTemplate

2002-11-03 Thread Adam Atlas
First post!!! Um, yeah... anyway... Hi people, I just got a beta of my ASTemplate code out. It's a PHP template system that uses an XML-based format to specify template format and text files (that can be HTML or any other text format) that make up the body of its output. If you're looking for

[PHP] Kxparse 0.2

2002-11-03 Thread Khalid El-Kary
hi, i want to just tell you about the new release of Kxparse (a XML parser) you can find everything about the new release here http://creaturesx.ma.cx/kxparse/ khalid _ Surf the Web without missing calls! Get MSN Broadband.

[PHP] Re: XSLT Sablotron output

2002-11-03 Thread Daniele Baroncelli
No one replied yet, so I suppose no one was able to solve this. By the way, is there anyone that actually experienced the same situation? Cheers Daniele Daniele Baroncelli [EMAIL PROTECTED] wrote in message news:20021102212518.34728.qmail;pb1.pair.com... Hi guys, I have typed a simple

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread Jason Wong
On Monday 04 November 2002 02:25, Paul wrote: Yes, I use those in other pages with no problem..it just this page causes some problems.. -Original Message- From: Sascha Cunz [mailto:Sascha;GaNoAn.org] Sent: Sunday, November 03, 2002 1:03 PM To: Paul; [EMAIL PROTECTED] Subject: Re:

Re: [PHP] ASTemplate

2002-11-03 Thread Jonathan Sharp
Benchmarks? -js Adam Atlas wrote: First post!!! Um, yeah... anyway... Hi people, I just got a beta of my ASTemplate code out. It's a PHP template system that uses an XML-based format to specify template format and text files (that can be HTML or any other text format) that make up the

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread Hugh Danaher
Paul, Got any spaces or lines above the ? ?? Spaces there will kill the script. Hugh - Original Message - From: Paul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, November 03, 2002 9:53 AM Subject: [PHP] Am I blind? simple 15 line code producing error Perhaps I am blind but I

Re: [PHP] Geographic IP location

2002-11-03 Thread Mika Tuupola
On Sat, 2 Nov 2002, olinux wrote: I am looking for a way to determine the geographic location based on IP address. I understand that 100% accuracy is impossible. There is a Net_Geo PEAR class, which uses CAIDA data. http://pear.php.net/package-info.php?pacid=55 --

[PHP] Re: Send $out embedded in a mail in HTML FORMAT

2002-11-03 Thread Manuel Lemos
Hello, On 11/02/2002 10:52 PM, Kevin Fradkin wrote: I read from a template, insert data and save it as a new file with html code... i want to send that file that is the same as $out via mail embedded in it... i do $fifi = fopen ('/'.$cursada.$cuatrimestre.'/'.$registronro.'.htm', w); $fp =

php-general Digest 3 Nov 2002 22:57:54 -0000 Issue 1683

2002-11-03 Thread php-general-digest-help
php-general Digest 3 Nov 2002 22:57:54 - Issue 1683 Topics (messages 122547 through 122581): Send mail in HTML FORMAT 122547 by: Kevin Fradkin 122566 by: Jennifer Swofford Variables 122548 by: Bryan McLemore 122550 by: David Jackson 122553 by: Hugh

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread Chris Shiflett
Paul, Something I don't think others have mentioned yet is tht a common reason for this error is when there is an error somewhere in your script prior to the header() call. Because PHP will output the error to the screen (assuming you don't have any special error handling), it might not be

Re: [PHP] fread() fails with large files

2002-11-03 Thread rija
Use readfile instead fread() if you've got some problem with, it looks better! Header(Content-Type: $type); Header(Content-Disposition: attachment; filename=$downloadname); header(Content-Length: $size); header(Content-Transfer-Encoding: binary); readfile($file); - Original Message -

[PHP] Phpmyadmin HELP!!!

2002-11-03 Thread Rodrigo de Oliveira Costa
Hi people, After I installed phpmyadmin on my computer that runs an Apache I've worked almost everything out. The only problem I seem to have is that when I create a Database I can't put more than 8 columns and if I do it simply doesnt accept it. Another problem that it looks like I'm having

Re: [PHP] Multiple Addresses Mailer

2002-11-03 Thread Manuel Lemos
Hello, On 10/31/2002 10:09 AM, -- wrote: You are contradicting yourself. Most mailing list programs put all recipients in Bcc: and queue only on message, so it is the same thing that you are recommending against and for it. But most listservers generate a new message for each receiver. Most

Re: [PHP] Multiple Addresses Mailer

2002-11-03 Thread Manuel Lemos
Hello, On 10/31/2002 01:53 PM, Olinux wrote: I've never met an ISP that would refuse bulk mailing, as long as you can proove that you've got concent from the receivers for the messages. My mail server handles all the concent things itself, and sofar my ISPs have not complained about the up to 3

RE: [PHP] Re: XSLT Sablotron output

2002-11-03 Thread Mark Charette
There's nothing to solve; without the complete XML doc the XSL stylesheet, there's no way to know if in fact everything is being parsed as expected. I don't know if it's CDATA, xsl:text, a strip-spaces directive, etc. And ... I'd expect anyone using XML XSL to double check and re-reference all

Re: [PHP] Kxparse 0.2

2002-11-03 Thread Justin French
Haven't we heard about this a few times now? on 04/11/02 5:45 AM, Khalid El-Kary ([EMAIL PROTECTED]) wrote: hi, i want to just tell you about the new release of Kxparse (a XML parser) you can find everything about the new release here http://creaturesx.ma.cx/kxparse/ khalid

[PHP] Re: Cookies disabled, new session ID each click!

2002-11-03 Thread Steve Fatula
Oleg and anyone else, PLEASE READ THE POST. This is vendor software, this is what it does, it doesn't matter if it's the way you would do it, if it is the best way, or anything else. So, please tell me why the short program I uploaded as an example does or does not work for you. Steve Oleg

[PHP] Re: Your opinion on globals/reference

2002-11-03 Thread rolf vreijdenberger
but what if you decide later you want more objects or globals in your function?? your parameter list could get quit long! -- Rolf Vreijdenberger De Pannekoek en De Kale W: www.depannekoekendekale.nl Gerard Samuel [EMAIL PROTECTED] schreef in bericht news:3DC54436.2090803;trini0.org... Something

Re: [PHP] Re: Send $out embedded in a mail in HTML FORMAT

2002-11-03 Thread Kevin Fradkin
Thanks a lot!!.. finally.. i found what i was looking! nice having people who can help us! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] uploading help please again

2002-11-03 Thread marcelo
Ok I'm back This script is to upload 2 image files Whit register_globals = on it Works fine script A p.php titleJornal O Leme/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body bgcolor=#006699 table width=100% border=0 cellpadding=0 cellspacing=0

[PHP] Add content thru e-mail

2002-11-03 Thread Rodrigo de Oliveira Costa
Hi people, i'd like to know if there is a way to add content to a database thru sending an e-mail, and if there is how it would be done. Thanks, Rodrigo

RE: [PHP] uploading help please again

2002-11-03 Thread John W. Holmes
That's because $_FILES['origem'] is an array. It will have the following elements, where 'userfile' is 'origem' in your case: $_FILES['userfile']['name'] The original name of the file on the client machine. $_FILES['userfile']['type'] The mime type of the file, if the browser provided this

Re: [PHP] Add content thru e-mail

2002-11-03 Thread Timothy Hitchens (HiTCHO)
The simplest way to do this to setup a pop3 account and have a php script check this account at intervals via cron. Or you could write a pipe script via aliases. Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] On Sun, 3 Nov 2002, Rodrigo de Oliveira Costa wrote: Hi people, i'd like to know if

[PHP] FTP Search

2002-11-03 Thread Manuel Jenne
Hi, i wont to find a special Dir on many FTP Server's over PHP. For searching my Server's have an site command like site dupe Dirname But if I try it with ftp_site I get only a bool back and not the search result. With a ftp_nlist I can't search Dir's only files. And with ftp_rawlist I get

[PHP] radio buttons from MySQL query?

2002-11-03 Thread David Jackson
How do I go about building radio buttons using the results of a MySQL query. The record layout looks like this: acct cat description I want to use acct as the value=acct in the input statement for the radio box. The code below almost works? TIA, David ?php $header = mysql_query (SELECT *

[PHP] Re: Cookies disabled, new session ID each click!

2002-11-03 Thread Steve Fatula
If you want to see a site where the small program works (and be SURE and turn cookies off), click here: http://www.thewebmakerscorner.com/snapmods_new/default_test.php So, can anyone tell me why it does not work on MY site(s)? Any ideas? Surely this is a PHP configuration issue/bug perhaps?

[PHP] Error in code - Seems simple enough

2002-11-03 Thread vernon
I'm having trouble with the following code dispalying an error, which I don't understand because the code actually works (other than the error). Any ideas? ? if(!isset($HTTP_SESSION_VARS['svUserAccess'])){ echo td class='mainmenu' align='center' width='12.5%' style='cursor:hand'

[PHP] Images retrieved from MYSQL database using PHP becoming corrupted.

2002-11-03 Thread Darren McPhee
I have spent the last 3 days trying to figure this out. And will probably give up very soon. I have written 2 programs (which are very common PHP programs) that A) Allows me to upload image files into a MYSQL database using a simple form. And B) Allows me to retrieve and display the image using

RE: [PHP] Error in code - Seems simple enough

2002-11-03 Thread John W. Holmes
And the error is?? -Original Message- From: vernon [mailto:vernon;comp-wiz.com] Sent: Sunday, November 03, 2002 9:28 PM To: [EMAIL PROTECTED] Subject: [PHP] Error in code - Seems simple enough I'm having trouble with the following code dispalying an error, which I don't

[PHP] trouble with maximum_execution_time and file upload

2002-11-03 Thread Eduardo M. Bragatto
I've send an e-mail with a doubt related with the maximum_execution_time variable but it has no answers, so, I'm submiting it again... I'm using a single php script to send files named upload.php, here is the source code: ?php set_time_limit(500); copy($userfile, log\\$userfile_name);

Re: [PHP] Error in code - Seems simple enough

2002-11-03 Thread vernon
That's the thing, everything works but the error message keeps coming up? Runtime Error: Syntax Error -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] re:[PHP] uploading help please again

2002-11-03 Thread rija
You might receive 2 files throught upload, then the first file name should be $_FILES['origem'] ; and the second file name $_FILES['origem2'] ; To use the different variables you can use, peer John Holmes's answer, there aren't no full answer like this anywhere? to ask if file uploaded is ok

[PHP] Global Variables Off

2002-11-03 Thread Paul
Ok, I have turned global vars off and I have replaced my old $HTTP_GET_VARS with $_GET[] but I seem to not get the values passed. I run the phpinfo and I see the variables being stored as _GET[variable_name] Is calling $_GET[variable_name] correct? If so, why would I not get the value? I use it

Re: [PHP] Global Variables Off

2002-11-03 Thread Chris Shiflett
You didn't really tell us how you're passing data or what is not working. Try this. Create a test script called test.php that looks like this: ? echo pThe test variable is [ . $_GET[test] . ]/p; ? Assuming this script is located at http://example.org/test.php, access this page using a URL like

Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread rija
I don't think so, Put the bracket with your radio's name not with your the value/// For example : print td width=2input type=radio name=gl_acct[] value=$row['acct']{$row['acct']}/td ... and so one/ - Original Message - From: David Jackson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] Error in code - Seems simple enough

2002-11-03 Thread rija
This is rather problem about javascript than PHP - But I think that you need to use double quotes (escaped) to distinguish query and variables in your javascript query: Try out this, It work fine for me: if(!isset($HTTP_SESSION_VARS['svUserAccess'])){ echo td class='mainmenu' align='center'

RE: [PHP] Global Variables Off

2002-11-03 Thread Paul
I am passing it via URL as: http://example.org/test.php?test=foo When I do that call to $_GET[test] shows that variable is not set, however, when I run phpinfo() it shows value assigned to _GET. With no change in code, I turn global variables 'on' and the same page works.. Paul PS using php

Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread John Nichel
There is no reason to put brackets behind the name of the radio element. The brackets are neccessary for multi-select elements like checkboxes, but radio buttone are a single select element. Your if statement should be a while loop. I'm sure you don't want to set this ( value=acct[] ) as the

Re: [PHP] Global Variables Off

2002-11-03 Thread John Nichel
Try single quotes... $_GET['test'] Paul wrote: I am passing it via URL as: http://example.org/test.php?test=foo When I do that call to $_GET[test] shows that variable is not set, however, when I run phpinfo() it shows value assigned to _GET. With no change in code, I turn global variables 'on'

RE: [PHP] Global Variables Off

2002-11-03 Thread Paul
Makes no difference..I tried them both -Original Message- From: John Nichel [mailto:jnichel;by-tor.com] Sent: Sunday, November 03, 2002 10:59 PM To: Paul Cc: 'Chris Shiflett'; [EMAIL PROTECTED] Subject: Re: [PHP] Global Variables Off Try single quotes... $_GET['test'] Paul wrote: I

Re: [PHP] Global Variables Off

2002-11-03 Thread Chris Shiflett
I assume you mean that the echo statement I gave as an example shows this: The test variable is [] Right? If so, that is truly odd, especially considering you are using 4.2.3. I don't have a good answer for that ... Add this code to the top of your script to see if PHP thinks the client is

Re: [PHP] Global Variables Off

2002-11-03 Thread Justin French
Try these two simple tests, with the url test.php?test=foo HTML BODY ? print_r($_GET); ?br / ?=$_GET['test']? /BODY /HTML And show us the results. Justin on 04/11/02 1:54 PM, Paul ([EMAIL PROTECTED]) wrote: I am passing it via URL as: http://example.org/test.php?test=foo When I do that

RE: [PHP] Global Variables Off

2002-11-03 Thread Paul
OK I guess I am closer = the variable is being passed as I tested but I guess is failing on the test: if (isset($_GET[error_message])) Thank you for all your help Paul -Original Message- From: Chris Shiflett [mailto:shiflett;php.net] Sent: Sunday, November 03, 2002 11:08 PM To: Paul

Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread rija
oups ... you're right ! - Original Message - From: John Nichel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: php [EMAIL PROTECTED]; David Jackson [EMAIL PROTECTED] Sent: Monday, November 04, 2002 2:57 PM Subject: Re: [PHP] radio buttons from MySQL query? There is no reason to put

[PHP] More on cleaning Windows characters...

2002-11-03 Thread a . h . s . boy
After considerable investigation into the form input of non-Latin 1 characters to be processed by PHP on a Linux box, I've been able to distill the issue down considerably, though a solution (and one oddity) remains confusing. I found a very helpful web page entitled On the use of some MS

Re: [PHP] Global Variables Off

2002-11-03 Thread rija
I think your machine is blasted - Find out an exorcist or a witch or move out to other program- - Original Message - From: Paul [EMAIL PROTECTED] To: 'John Nichel' [EMAIL PROTECTED] Cc: 'Chris Shiflett' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 04, 2002 3:02 PM Subject:

Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread David Jackson
OK, this works but there has to be a pretty way? John, I'm not sure what you mean about the while loop? David - Works - html headtitleOperation Sticky Bun/title/head body h3 align=centerOperation Sticky Bun /h3 ?php require('connect.php'); ? ?php print 'form

Re: [PHP] radio buttons from MySQL query?

2002-11-03 Thread John Nichel
Belay that. I didn't notice the do / while loop inside of the if statement. I don't know if this is prettier, but I would echo out the radio button in one line echo ( input type=\radio\ name=\ledger_acct\ value=\ . $row[acct] . \ . $row[descript] . br\n; David Jackson wrote: OK, this

[PHP] Threads

2002-11-03 Thread Khalid El-Kary
hi, i would like to ask about PHP threads support, is there any threads support, how powerful, please redirect me to the right place thanx khalid _ Unlimited Internet access -- and 2 months free!  Try MSN.

Re: [PHP] Threads

2002-11-03 Thread Rasmus Lerdorf
Nope On Mon, 4 Nov 2002, Khalid El-Kary wrote: hi, i would like to ask about PHP threads support, is there any threads support, how powerful, please redirect me to the right place thanx khalid _ Unlimited Internet access

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread @ Edwin
Hello, Could it be that because you have a blank line between require_once classes/HtmlTemplate.class; if ($HTTP_SESSION_VARS[user_id]){ ? (Or even some blank lines or spaces before require_once.) Just guessing... - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] re:[PHP] uploading help please again

2002-11-03 Thread Jason Wong
On Monday 04 November 2002 11:04, rija wrote: You might receive 2 files throught upload, then the first file name should be $_FILES['origem'] ; and the second file name $_FILES['origem2'] ; To use the different variables you can use, peer John Holmes's answer, there aren't no full answer

Re: [PHP] Global Variables Off

2002-11-03 Thread @ Edwin
Hello, Paul [EMAIL PROTECTED] wrote: OK I guess I am closer = the variable is being passed as I tested but I guess is failing on the test: if (isset($_GET[error_message])) What do you mean by failing on the test? What are you trying to accomplish, btw? How are you testing it? Also, have you

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread Justin French
on 04/11/02 4:15 PM, @ Edwin ([EMAIL PROTECTED]) wrote: Hello, Could it be that because you have a blank line between require_once classes/HtmlTemplate.class; Shouldn't it be require_once(classes/HtmlTemplate.class); ??? Justin -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Cookies disabled, new session ID each click!

2002-11-03 Thread Jason Wong
On Monday 04 November 2002 10:24, Steve Fatula wrote: If you want to see a site where the small program works (and be SURE and turn cookies off), click here: http://www.thewebmakerscorner.com/snapmods_new/default_test.php So, can anyone tell me why it does not work on MY site(s)? Any ideas?

Re: [PHP] Phpmyadmin HELP!!!

2002-11-03 Thread Jason Wong
On Monday 04 November 2002 07:16, Rodrigo de Oliveira Costa wrote: Hi people, After I installed phpmyadmin on my computer that runs an Apache I've worked almost everything out. The only problem I seem to have is that when I create a Database I can't put more than 8 columns and if I do it

Re: [PHP] Am I blind? simple 15 line code producing error

2002-11-03 Thread @ Edwin
Perhaps? But you don't really need the parenthesis ;) - E Justin French [EMAIL PROTECTED] wrote: on 04/11/02 4:15 PM, @ Edwin ([EMAIL PROTECTED]) wrote: Hello, Could it be that because you have a blank line between require_once classes/HtmlTemplate.class; Shouldn't it be

[PHP] Session cookies

2002-11-03 Thread Shaun
Hi, When the user logs in , i create a session with session varialbles, the session cookie is saved on clients computer. When i log off i say session_unset(); session_destroy(); setcookie(session_name()); The session in the tmp is deleted , but the cookie is still there , i know this because

RE: [PHP] phpinfo

2002-11-03 Thread David Russell
Been there, done that. Didn't help... I was told (off list) that it is because php4.2.3 is compiled with Apache 1.3.24. is this possible? It is definitely Apache 1.3.27 (404 error message returned the version number), but php is not reporting as such. Thanks again David Russell IT Support

[PHP] fgets()

2002-11-03 Thread Khalid El-Kary
hi, i want to open a remote file using fopen() i tried both of these ways $filename=http://www.domain.com/filename.txt;; $file=fopen($filename,r); $filecontents=fread($file,filesize($filename)); this one didn't work because it's apparent that the file isn't in the local file system so

[PHP] Re: Session cookies

2002-11-03 Thread Erwin
When the user logs in , i create a session with session varialbles, the session cookie is saved on clients computer. When i log off i say session_unset(); session_destroy(); setcookie(session_name()); The session in the tmp is deleted , but the cookie is still there , i know this

[PHP] Re: fgets()

2002-11-03 Thread Erwin
Khalid El-Kary wrote: hi, i want to open a remote file using fopen() i tried both of these ways $filename=http://www.domain.com/filename.txt;; $file=fopen($filename,r); $filecontents=fread($file,filesize($filename)); this one didn't work because it's apparent that the file isn't in the