[PHP] strange behaviour of unset()

2002-07-08 Thread Liviu Andrei
Hi everybody! I just switched from 4.0.6 to 4.2.1 (register_globals is ON) and I noticed that unset() is not working properly. Specifically, if I use unset($a) in a page, $a becomes not set in THAT page, but for the next pages (using sessions) $a gets back at its value. Here is the sample:

Re: [PHP] ini_set() broken?

2002-07-08 Thread Philip Olson
You cannot set register_globals at runtime via ini_set(). The documentation goes off the PHP4 source which is, to put it simply, a little wrong. The PHP4 source says register_globals is PHP_INI_ALL when in the real world it isn't. .htaccess is as close as you'll get. The ini_set() docs

Re: [PHP] ini_set() broken?

2002-07-08 Thread Rasmus Lerdorf
Well, you can set it at runtime, it just won't do what you might expect. That doesn't mean that it may not be useful to be able to set it at runtime. If, for example, you have register_globals off and you write an auto-prepend script, or even just a normal snippet of code that you insert into

[PHP] Software on web Accessing mySQL/PHP

2002-07-08 Thread Thomas Edison Jr.
Hi, Basically we have created a Software in Visual Basic. Now the software uses mySQL on the internet as Backend. However, our server does not allow Remote Host Connection, which means we cannot access our mySQL Database on the Internet by our Software on a local client. We need the mySQL

[PHP] php +newlines+mysql

2002-07-08 Thread adi
I have a problem in php page: i want to insert into mysql database value $string with newlines: $string=-line1\n -line2 \n-line3; $result2 = db_query(update table1 set column1= '$string' where ID = '$IDcurent') or db_die(); When i try to view in a textarea control the new value from column1,

[PHP] Little php execution question.

2002-07-08 Thread Latex Master
Hello php-general, I finally finish my work on one of the projects. I got a question how PHP executes a script. Let's say i got a little script but it takes him a long time to work (don't blame me please) If a user stops loading page of will close the window. Will Script continue

[PHP] Cannot start Apache

2002-07-08 Thread Alexander Skwar
Hallo. I thought that I had PHP 4.2.1 compiled just fine on SuSE 7.2, however when I start Apache 1.3.19, it seg faults. I compiled PHP like this: CFLAGS=-O2 -m486 -fno-strength-reduce -fPIC -DHAVE_LIBDL=1 \ -I'/usr/include/mysql' -I/usr/include/gd \ LDFLAGS=\

RE: [PHP] is their a jobs mailing list?

2002-07-08 Thread César Aracena
-Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 2:31 AM To: Peter J. Schoenster Cc: [EMAIL PROTECTED] Subject: Re: [PHP] is their a jobs mailing list? Job postings are fine on this list. Some people will invariably gripe, but

RE: [PHP] is their a jobs mailing list?

2002-07-08 Thread Brian McGarvie
I think a job's list would be good too so people can target only those who wish to undertake a contract/new position, and also for people to post that they are available... that or have an 'independant' site or get one of us to do a subsite on php .net :) I'll do it if it's something that'd

RE: [PHP] is their a jobs mailing list?

2002-07-08 Thread Dan Hardiker
I have no idea if this of any use to you guys ... but www.jobserv.co.uk has a load of IT jobs - but AFAIK they are all for mainland UK. Will be helpful for brits in any case. You might find a link to their continental / american / australian counterparts. -- Dan Hardiker [[EMAIL PROTECTED]]

[PHP] A problem in mysql_fetch_array

2002-07-08 Thread Jimmy Lam
I have insert some text with space to mysql DB with varchar() When I use mysql_fetch_array function to retrieve the data from DB . I found only the first session text can be shown . It means if any space there . It will split like session by session. for example. my DB have a text Hello World

RE: [PHP] is their a jobs mailing list?

2002-07-08 Thread Balaji Ankem
Will it be not possible to apply for other countries jobs? -Original Message- From: Dan Hardiker [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 2:12 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: [PHP] is their a jobs mailing list? I have no idea if this of any

RE: [PHP] is their a jobs mailing list?

2002-07-08 Thread César Aracena
Well, I am interested as long as the Masters let put this *JOB* site under www.php.net (would be more useful). If you or anybody else is willing to do such a site, I would like very much to get involved for learning and contribution reasons. C. -Original Message- From: Brian McGarvie

Re[2]: [PHP] is their a jobs mailing list?

2002-07-08 Thread Latex Master
Hello PHP, As for me I can provide a server platform for it :) and even a domain name. Like phpjobs.com.ru if it will be suitable for all. Those domains are free for Russian programmers :) CUT -- Best regards, Latexmailto:[EMAIL PROTECTED]

RE: [PHP] is their a jobs mailing list?

2002-07-08 Thread Brian McGarvie
Yeh sure... I have worked on a recruitment site for a UK agency. -Original Message- From: César Aracena [mailto:[EMAIL PROTECTED]] Sent: 08 July 2002 9:47 AM To: Brian McGarvie; 'PHP General List' Subject: RE: [PHP] is their a jobs mailing list? Well, I am interested as long

Re: [PHP] HTTPS vs. HTTP ?

2002-07-08 Thread Chris Hewitt
Chris Shiflett wrote: I think I'm going to compile all of my SSL explanations into a more clear and informative explanation and post it on the Web somewhere. Yes please. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] add to basket

2002-07-08 Thread Wilbert Enserink
Hi all, What's the best way to implement functions like 'add to basket' or 'add to wishlist' and so on. I mean: you are on a page with detail information about a product. If the user clicks the link for 'add to basket' I have to perform a piece of script and then go back to the detail page

Re: [PHP] strange behaviour of unset()

2002-07-08 Thread John Legg
Hi Liviu You also need to unregister the session var using session_unregister - unset will just unset the global. http://www.php.net/manual/en/function.session-unregister.php Rgds John - Original Message - From: Liviu Andrei [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July

Re: [PHP] is their a jobs mailing list?

2002-07-08 Thread Chris Hewitt
As not all work involving PHP need be on a customer's site (the type of work that agencies deal with), I'd like to suggest that the site is flexible enough to offer PHP work in the broader sense, not just on-site contract/employment. E.g. an end customer can post that they need a particular

RE: [PHP] is their a jobs mailing list?

2002-07-08 Thread Brian McGarvie
Yes... I agree... I would like formyself and anyothers interested if this was to go-ahead... develop similar to but not as deep as and more importantly FREE version of elance or something like that... Can anyone from PHP let us (this thread) know if this is a viable prospect? -Original

Re: [PHP] A problem in mysql_fetch_array

2002-07-08 Thread Jason Wong
Jimmy Lam said: I have insert some text with space to mysql DB with varchar() When I use mysql_fetch_array function to retrieve the data from DB . I found only the first session text can be shown . It means if any space there . It will split like session by session. for example. my DB have a

Re: [PHP] in the meantime___is their a jobs mailing list?

2002-07-08 Thread roger
in the meantime you could may be use my PHP forum at : http://www.cyberdistributeur.com/yabbse/index.php as the gathering place for php job posting, just an offer... up to you to use it or not, i still have some bandwith left Roger Garin-Michaud from Saint-Priest near Lyon, France

Re: [PHP] add to basket

2002-07-08 Thread Justin French
I wouldn't rely on HTTP_REFERER at all.. some user agents don't set it. For things that need to revert back to a certain URL after a few tasks have been performed (eg login, email page to a friend, add to cart, add to wishlist, etc etc). To do this, I use PHP_SELF ($_SERVER['PHP_SELF'] in PHP =

[PHP] Authentication

2002-07-08 Thread Anthony Rodriguez
Dear Richard, Again thank you for your reply. I'm sorry to keep bothering you. Please tell me when to stop. Let me explain what I'm trying to do and maybe you'll point me in the right direction. I'm developing a paid Web site for business courses. Some pages will be available to all

Re: [PHP] Authentication

2002-07-08 Thread Justin French
Have a look at Kevin Yank's article on sitepoint.com called something like restricting page access with php and mysql. It formed the basis of my user and session management. Basically, you should be re-checking your username and password on every page, so it shouldn't be too hard to extend this

[PHP] getting the IP address off a visitor

2002-07-08 Thread Sebastian Marcu
Hi there, I am new to PHP and need some help. I was wondering if there is a way to get hold of the IP address of a site visitor with PHP. I'm trying to develop an interaction where the server would recognise a new visitor from a returning visitor via the IP address. Regards, Sebastian --

[PHP] regex for emoticon codes

2002-07-08 Thread Roger Thomas
i have something like $str = sometext sometext [emoticon01] sometext [emoticon23] sometext; i would like to use regex to replace those codes into: sometext sometext /images/emot/01.gif sometext /images/emot/23.gif sometext all numerics after the code emoticon consisted of exactly 2 digits; and

Re: [PHP] getting the IP address off a visitor

2002-07-08 Thread Justin French
Hi, Not a good idea. 1. in the case of most dial-up users with an ISP, the IP address is usually dynamically assigned, so next time they dial-up (or re-connect) they will more than likely have a different IP address. 2. in the many cases of computers with a static IP (cable/ADSL/etc), the IP

Re: [PHP] regex for emoticon codes

2002-07-08 Thread John Legg
Hi Roger Try this: $str = sometext sometext [emoticon01] sometext [emoticon23] sometext; $new_str = preg_replace(/\[emoticon(\d\d)\]/, /image/emot/\\1.gif, $str); print $new_str; Seems to work? Rgds John - Original Message - From: Roger Thomas [EMAIL PROTECTED] To: [EMAIL

[PHP] Session variables

2002-07-08 Thread Steve Fitzgerald
I am designing a form using sessions in which the user inputs their details on page 1 and after submitting they are directed to page 2 for confirmation. They then have the option of editing their input (ie they are returned to page 1) where their previous input is reflected in the form fields by

RE: [PHP] Session variables

2002-07-08 Thread Rudolf Visagie
Generate a select structure dynamically with PHP, something like this: ? $OptionValue[0] = something 1; $OptionValue[1] = something 2; $OptionValue[2] = something 3; $Option[0] = List Option 1; $Option[1] = List Option 2; $Option[2] = List Option 3; function GenerateSelect ($Name,

Re: [PHP] Session variables

2002-07-08 Thread Justin French
SELECT name=day OPTION value=please select ? if(empty($day)) { echo selected; } ? OPTION value=monday ? if($day == monday) { echo selected; } ? OPTION value=tuesday ? if($day == tuesday) { echo selected; } ? OPTION value=wednesday ? if($day == wednesday) { echo selected; } ?

[PHP] mcrypt.dll

2002-07-08 Thread Wilbert Enserink
Hi all, I'm using windows XP, apche and php 4.01 I need to test with the libraries mcrypt, so I guess I need mcrypt.dll. Anybody has any idea how to do this, or to get more info about this? thx Wilbert - Pas de Deux Van Mierisstraat 25 2526 NM Den Haag tel 070

[PHP] http upload corrupts my file on apache and Win XP

2002-07-08 Thread Mathias B
Hello I use: Apache 2.0.36 and PHP 4.2.1 on WinXP I have major problems when trying to upload files with the following code: HTML code: form name=theForm method=post action=../Doc_List/ ENCTYPE=multipart/form-data input type=file name=data size=25 input type=submit name=Action value=?

[PHP] Converting PCX to ...

2002-07-08 Thread BB
I'm writing a reporting system and I have a problem. I need to insert PCXs into a PDF (using PDFLib), but it doesn't support PCXs. So, to get round the problem, I need to convert the PCXs to JPGs or GIFs Does anyone know of a piece of PHP that can do this inline, (by that I mean, can be called

[PHP] problem with ftp_fut fixed?

2002-07-08 Thread jusob
Hello Many people have the error Warning: error opening C:\\xxx\\xxx.xxx in /xxx/xxx/xxx.php when using the function ftp_put to upload a file. Have this problem been fixed? If yes, could some one provide me a link to see how to do it. If no, I will explain my problem. Thanks and sorry for my

Re: [PHP] regex for emoticon codes

2002-07-08 Thread Roger Thomas
yeeaHAH ! great. Thanks John. think i'll never regret joining the list. -- roger --- John Legg [EMAIL PROTECTED] wrote: Hi Roger Try this: $str = sometext sometext [emoticon01] sometext [emoticon23] sometext; $new_str = preg_replace(/\[emoticon(\d\d)\]/, /image/emot/\\1.gif, $str);

Re: [PHP] Session variables

2002-07-08 Thread Steve Fitzgerald
Thanks Justin, your solution is spot-on! Regards Steve Justin French wrote: SELECT name=day OPTION value=please select ? if(empty($day)) { echo selected; } ? OPTION value=monday ? if($day == monday) { echo selected; } ? OPTION value=tuesday ? if($day == tuesday) { echo

Re: [PHP] getting the IP address off a visitor

2002-07-08 Thread Chris Hewitt
Sebastian, Yes, look at the data returned by running phpinfo() and you will see it. As discussed very recently on this list, an IP address is not a good way to determine whether this is a new user or not. I suggest you look in the recent archives for the discussion on this topic. HTH Chris

Re[2]: [PHP] Session variables

2002-07-08 Thread Michal Dvoracek
SELECT name=day OPTION value=please select ? if(empty($day)) { echo selected; } ? OPTION value=monday ? if($day == monday) { echo selected; } ? OPTION value=tuesday ? if($day == tuesday) { echo selected; } ? OPTION value=wednesday ? if($day == wednesday) { echo selected; }

Re: Re[2]: [PHP] Session variables

2002-07-08 Thread BB
and to bring it up another level: OPTION value=please select?=((empty($day)) ? ' selected' : ''); ? OPTION value=monday?=(($day == 'monday') ? ' selected' : '');? :oP Michal Dvoracek [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... SELECT name=day OPTION

Re: [PHP] HTTPS vs. HTTP ?

2002-07-08 Thread Martin Clifford
How do you know their certificate hasn't been stolen, and they haven't even figured it out yet? How do you know they were trustworthy people in the first place? Why do you ASSUME that they're NOT trustworthy people? Do you go through your entire life in that shell? The more I think about

[PHP] keep textformating ?

2002-07-08 Thread Hawk
Lets say I have a guestbook, and I want the text the visitors write in it be saved in a database(mysql) and when retrieved, if should have the same textformating, I guess this is a really basic thing, but I don't know what to look for :) I've caught \n and ereg*, but I'm not sure that's the

Re: [PHP] keep textformating ?

2002-07-08 Thread Justin French
The only text formatting you're likely to have in a text field from a html form is line breaks (\n). So, to keep the formatting of these breaks, insert the text into the DB as is, then on pulling it out, convert \n's to br /'s using nl2br($string), so that the newlines appear within a HTML page.

[PHP] Passing variables

2002-07-08 Thread Anthony Rodriguez
Dear Justin, After reading Kevin Yank's Managing Users ... at www.sitepoint.com, I tried the following 2 scripts. Unfortunately, the variable $course is NOT being passed to the 2nd script. Thus, per the script, the Home page is displayed. Why? --- 1st script --- ?php // file:

RE: [PHP] HTTPS vs. HTTP ? - the weakest link

2002-07-08 Thread Brinkman, Theodore
Think about it for a moment. E-commerce involving properly signed sites is, at the very least, more secure than handing your credit card to a waiter in a restauraunt. The waiter can walk off with your card, and come back 2 minutes later with your card. You'll never know if he copied down the

Re: [PHP] keep textformating ?

2002-07-08 Thread Nookie
Hello Hawk, Monday, July 8, 2002, 3:28:02 PM, you wrote: H Lets say I have a guestbook, and I want the text the visitors write in it be H saved in a database(mysql) and when retrieved, if should have the same H textformating, I guess this is a really basic thing, but I don't know what H to look

RE: [PHP] session problem

2002-07-08 Thread Naintara Jain
Just thought I'd mail it here. It's a reported bug, Bug #16263. Discovered (after hours of agonizing). martin, values were being assigned and passed :) thanks anyway. -Original Message- From: Martin Clifford [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 6:29 AM To: [EMAIL

[PHP] Re: getting the IP address off a visitor

2002-07-08 Thread Mark McCulligh
Here is a function a found on php.net that turns the IP. Everything that Justin said is true too. If they have a dial-up user or are behind a proxy server you can't track them. Also if you are saving this to a database table it will get very big fast, just like Justin said. I would create a

Re: [PHP] phpBB Info

2002-07-08 Thread Martin Clifford
I'm sure there is a phpBB specific userbase out there that could answer this question for you. My guess would be... I don't know, something like http://www.phpbb.com. Martin BrettM [EMAIL PROTECTED] 07/06/02 12:35PM I wanna be able to do some stuff, which involves getting data from my

[PHP] Announce: phpxmlclasses v 1.10

2002-07-08 Thread Garland Foster
Hi all, http://phpxmlclasses.sourceforge.net/ I wanted to announce a new version of the phpxmlclasses package. In this version I added an implementation of the RDQL language to query RDF documents from local files or URLs. Up to now the repository has the following classes: XSLT: a wrapper for

[PHP] Re: Stack Overflow with: zend optimizer

2002-07-08 Thread colin mcdonald
Richard Lynch wrote: You *MIGHT* try installing the Optimizer on a Dev box and turning on *ONE* opitmization group/feature at a time and then pounding on that Dev server with 'ab' until you narrow down which optimizations are the trouble-makers. Tried that. Each optimization value/setting

[PHP] Re: Stack Overflow with: zend optimizer

2002-07-08 Thread colin mcdonald
Oh yeah, this is what I did to stabilize the server: -take out zend_optimizer from php.ini -put process isolation level to HIGH (as Michael suggested) -put IIS in the ISAPI filter list -disable chaching of isapi applications colin Colin McDonald wrote: Richard Lynch wrote: You *MIGHT* try

[PHP] $_REQUEST???

2002-07-08 Thread Scott Fletcher
Can the $_REQUEST be trusted?? The documentation said it is the combination of $_GET, $_POST, $_COOKIE $_FILE. If the PHPSESSID is found in $_REQUEST, I can tell it is from $_COOKIE. I wonder if the PHPSESSID can be stored into $_REQUEST if hte $_COOKIE is unavailable or turned off?

[PHP] Time to Calculate Time

2002-07-08 Thread vins
Hey there ppl.. One dam thing i've been trying to figure out for about 2 weeks now it how the hell to calculate time. i have variables $Start, $End each with a timestamp 2 hours apart (2002070714, 2002070716) respectively How do i calculate those to timestamps to get the answer

[PHP] Parsing CGI for PHP?

2002-07-08 Thread Sandman
Can this be done with apache 1.3 ? I want to have the output of my CGI-script to be parsed with PHP, or rather, have the php within the ? .. ? parsed, of course, since the script outputs alot more than just php-code. Is it possible? -- Sandman[.net] -- PHP General Mailing List

[PHP] Session problems with popup window

2002-07-08 Thread Michael Champagne
I can't seem to find an elegant solution to this and was hoping you guys could offer some insight. We are using sessions on our webpage and one of the links on our main page, launches a separate popup window which has some PHP on it and contains some java applets which launch our web-based

Re: [PHP] Passing variables

2002-07-08 Thread Jim lucas
Because the session is not being started on the second page. to be able to get the contents of a variable that is in a session environment, you must first initiate sessions with the call session_start(); even if that is all you do before referancing the varialble. so, add session_start(); just

Re: [PHP] Session problems with popup window

2002-07-08 Thread Jim lucas
pass the user id to the page as a url variable. maybe set a unique cookie name for that value that won't get destroyed when the person logs out. Jim Lucas - Original Message - From: Michael Champagne [EMAIL PROTECTED] To: PHP General Mailing List [EMAIL PROTECTED] Sent: Monday, July 08,

Re: [PHP] keep textformating ?

2002-07-08 Thread Analysis Solutions
On Mon, Jul 08, 2002 at 11:38:17PM +1000, Justin French wrote: So, to keep the formatting of these breaks, insert the text into the DB as is, then on pulling it out, convert \n's to br /'s using nl2br($string), so that the newlines appear within a HTML page. Or put the code between pre /pre

Re: [PHP] Time to Calculate Time

2002-07-08 Thread Danny Shepherd
Try this: ?php function unixTime($time) { $year=substr($time,0,4); $month=substr($time,4,2); $day=substr($time,6,2); $hour=substr($time,8,2); $min=substr($time,10,2); $sec=substr($time,12,2); return strtotime($year/$month/$day $hour:$min:$sec); } $time1='2002070714';

[PHP] snmpwalk

2002-07-08 Thread MAAS
Hi Iam trying to use snmpwalk but I get this: Parse error: parse error, unexpected T_VARIABLE in c:\inetpub\wwwroot\alarm.php on line 7 This Is my code: HTML HEAD TITLEALARM ???/TITLE ? php $a = snmpwalk(192.168.10.8, pub_likt, 1.3.6.1.2.1.1); ? /HEAD /HTML -- PHP General Mailing List

Re: [PHP] snmpwalk

2002-07-08 Thread B i g D o g
try ?php with no space... B i g D o g - Original Message - From: MAAS [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 08, 2002 2:24 AM Subject: [PHP] snmpwalk Hi Iam trying to use snmpwalk but I get this: Parse error: parse error, unexpected T_VARIABLE in

[PHP] Re: snmpwalk

2002-07-08 Thread colin mcdonald
it's the space between ? and php colin Maas wrote: Hi Iam trying to use snmpwalk but I get this: Parse error: parse error, unexpected T_VARIABLE in c:\inetpub\wwwroot\alarm.php on line 7 This Is my code: HTML HEAD TITLEALARM ???/TITLE ? php $a = snmpwalk(192.168.10.8,

Re: [PHP] Time to Calculate Time

2002-07-08 Thread Danny Shepherd
You just knew there was a regexp version on the way, didn't you :) Danny. ?php function unixTime($time) { $time=preg_replace('/(.{4})(.{2})(.{2})(.{2})(.{2})(.{2})/','\\1/\\2/\\3 \\4:\\5:\\6',$time); return strtotime($time); } $time1='2002070714'; $time2='2002070716';

Re: [PHP] is their a jobs mailing list?

2002-07-08 Thread Bret L Conard
Hi all, I posted a message about a FREE technical job site I just finished as a direct result of looking for that kind of site and not finding it. I had asked for feedback and got 1 response about a mis-spelled word (which I fixed). The site may charge eventually but for now It is free to

Re: [PHP] is their a jobs mailing list?

2002-07-08 Thread Bret L Conard
The site is called: tech-temp.com Bret

Re: [PHP] Parsing CGI for PHP?

2002-07-08 Thread Chris Hewitt
A fairly full discussion on this has only just finished on this list in the last couple of days. May I respectfully suggest the archives will have the information you seek. HTH Chris Sandman wrote: Can this be done with apache 1.3 ? I want to have the output of my CGI-script to be parsed

[PHP] Cross-Site Sesison ID Propagation

2002-07-08 Thread Stefen Lars
Hello all fellow-hackers I am working on a project that includes a number of web sites, which are grouped together into one network. Kind of like the ‘OSDN’ network, of which Slashdot.org, for example, is a member. I need to implement a cross-site session. Using a technique, similar to the

Re: [PHP] Time to Calculate Time

2002-07-08 Thread vins
That looks great. But why do you have to carage the line after 3 in the function ? Danny Shepherd [EMAIL PROTECTED] wrote in message 022001c22696$087e4cc0$0200a8c0@DANNYS">news:022001c22696$087e4cc0$0200a8c0@DANNYS... You just knew there was a regexp version on the way, didn't you :) Danny.

Re: [PHP] Time to Calculate Time

2002-07-08 Thread vins
Never mind that just needs a space Thanx for all the help... have a surf to http://forum.ywait.co.za/ register and then i'll make you a MOD for the php scripting forum board. for the future. if you want Cheerz Danny Shepherd [EMAIL PROTECTED] wrote in message

RE: [PHP] HTTPS vs. HTTP ? - the weakest link

2002-07-08 Thread Miguel Cruz
On Mon, 8 Jul 2002, Brinkman, Theodore wrote: Think about it for a moment. E-commerce involving properly signed sites is, at the very least, more secure than handing your credit card to a waiter in a restauraunt. The waiter can walk off with your card, and come back 2 minutes later with

Re: [PHP] Converting PCX to ...

2002-07-08 Thread Miguel Cruz
On Mon, 8 Jul 2002, BB wrote: I'm writing a reporting system and I have a problem. I need to insert PCXs into a PDF (using PDFLib), but it doesn't support PCXs. So, to get round the problem, I need to convert the PCXs to JPGs or GIFs Does anyone know of a piece of PHP that can do this

[PHP] Linux Newsgroup???

2002-07-08 Thread Scott Fletcher
Hey! Is there a Linux newsgroup? A place where people can send emails or posting about Linux, like tech support, programming, installation, feedback, advices, work around, etc. Just like hte same concept as the PHP newsgroup here. Thanks, FletchSOD -- PHP General Mailing List

Re: [PHP] Parsing CGI for PHP?

2002-07-08 Thread Sandman
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Chris Hewitt) wrote: Can this be done with apache 1.3 ? I want to have the output of my CGI-script to be parsed with PHP, or rather, have the php within the ? .. ? parsed, of course, since the script outputs alot more than just php-code.

Re: [PHP] Linux Newsgroup???

2002-07-08 Thread Miguel Cruz
On Mon, 8 Jul 2002, Scott Fletcher wrote: Is there a Linux newsgroup? A place where people can send emails or posting about Linux, like tech support, programming, installation, feedback, advices, work around, etc. Just like hte same concept as the PHP newsgroup here. comp.os.linux.admin

[PHP] Editing Word Documents

2002-07-08 Thread David Russell
Hi all I have just had a request about editing Word Documents... I have an intranet, which provides access to, amongst others, Word Documents about policies, etc. What the guys are looking for is a way to do the following: 1. Show a list of files available for editing 2. If a file is

Re: [PHP] Linux Newsgroup???

2002-07-08 Thread Scott Fletcher
Wow! That's a lot!!! I guess, it can't be made into 1 newsgroup! :-) Thanks, FletchSOD Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Mon, 8 Jul 2002, Scott Fletcher wrote: Is there a Linux newsgroup? A place where people can send emails or

[PHP] MIB and snmp

2002-07-08 Thread MAAS
Iam trying to get some data on a php homepage. I get the data vith snmp msg. I get som msg, but when I try to get a speciall object ID i get this: ALARM 27 (port 52): Warning: Error in packet. Reason: (noSuchName) There is no such variable name in this MIB. in c:\inetpub\wwwroot\alarm.php on

[PHP] Re: PHP: Script Security: Best coding practices

2002-07-08 Thread Tim Luoma
olinux wrote: A little off your request, but may be of interest: Top 21 PHP Programming Mistakes from Zend.com http://www.zend.com/zend/art/mistake1.php http://www.zend.com/zend/art/mistake2.php Hrm... I wonder if someone Zend has messed up their template for title/titles The titles are

Re: [PHP] Parsing CGI for PHP?

2002-07-08 Thread Analysis Solutions
On Mon, Jul 08, 2002 at 06:11:16PM +0200, Sandman wrote: I apologize deeply, but I am using the NNTP interface to these lists, and I can't find the thread you're talking about. http://groups.google.com/groups?hl=ensafe=offgroup=php.general --Dan -- PHP classes that make

[PHP] php is not working with submit button

2002-07-08 Thread Terry Cheung
Hi, I have just downloaded the latest source of apache, php, mod_ssl and mysql to build them all together. It can show the php page and can connect to the mysql database, the only problem is all the php pages seem likes do not response to the submit button, it just direct back to the

[PHP] Variable not passing to second page

2002-07-08 Thread Terry Cheung
I 've just setup the Apache 1.3.26 with PHP 4.2.1. When I use back the old php script files. They can display successfully, but whei I submit the data, they cannot pass to the second page even they can be shown in the URL with get method. here is one of my script jobapp.php HTML !--

RE: [PHP] don't want to receive but email please

2002-07-08 Thread Lazor, Ed
So is this a new virus? -Original Message- From: Rodolfo Contreras T. [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 6:30 PM To: [EMAIL PROTECTED]; PHP List Subject: [PHP] don't want to receive but email please don't want to receive but email please don't want to receive

RE: [PHP] $_REQUEST???

2002-07-08 Thread Lazor, Ed
Are you trying to find out whether the person is logged in? You can also test the cookie with the isset function. -Original Message- Can the $_REQUEST be trusted?? The documentation said it is the combination of $_GET, $_POST, $_COOKIE $_FILE. If the PHPSESSID is found in $_REQUEST,

Re: [PHP] php is not working with submit button

2002-07-08 Thread Analysis Solutions
Hi Terry: On Mon, Jul 08, 2002 at 11:36:46PM +0800, Terry Cheung wrote: to the mysql database, the only problem is all the php pages seem likes do not response to the submit button, it just direct back to the same page Then you're not writing your form correctly. form method=POST

Re: [PHP] php is not working with submit button

2002-07-08 Thread Philip Olson
This is an issue of the register_globals directive, the default went from off to on as of PHP 4.2.0 Either change your coding style or turn it back on. input type=text name=foo print $_POST['foo']; $foo will exist if register_globals = on. Search archives, google, the manual, etc.

Re: [PHP] Variable not passing to second page

2002-07-08 Thread Philip Olson
Please don't repeat your questions, see the other post for details. In short, it has to do with register_globals directive in php.ini Regards, Philip Olson On Tue, 9 Jul 2002, Terry Cheung wrote: I 've just setup the Apache 1.3.26 with PHP 4.2.1. When I use back the old php script files.

Re: [PHP] Variable not passing to second page

2002-07-08 Thread Analysis Solutions
Hi Terry: See the answer to the other thread you already started on this subject. In short, use the superglobal's to access the input: $_POST['variablename'] --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution

Re: [PHP] ini_set() broken?

2002-07-08 Thread Philip Olson
Hello Rasmus- How do you suggest ini_set() document these differences? Maybe the table at ini_set() could use another column, for descriptions and notes. Also, could you give a concise description for the differences between local and master values? Regards, Philip Olson On Mon, 8 Jul

RE: [PHP] Re: Help needed with hexdec();

2002-07-08 Thread frank
Thank you for your answer Richard, unfortunately the port from perl to PHP didn't work out the way I wanted it to - probably mainly because of the lack of perl knowledge here. And yes you are right, the numbers I use are a lot bigger than 2147483647. If anyone has an idea on how to treat the

RE: [PHP] [OFF] Expiration Page

2002-07-08 Thread Lazor, Ed
Check HTML meta tags. I'm not certain, but I think that's what you're looking for. -Original Message- Please, How do I make for my webpage expires before time? This message is intended for the sole use of the

Re: [PHP] php +newlines+mysql

2002-07-08 Thread Analysis Solutions
On Mon, Jul 08, 2002 at 10:49:12AM +0300, adi wrote: $string=-line1\n -line2 \n-line3; $result2 = db_query(update table1 set column1= '$string' where ID = '$IDcurent') or db_die(); When i try to view in a textarea control the new value from column1, the newlines disappear! Werid.

Re: [PHP] add to basket

2002-07-08 Thread Analysis Solutions
I'd put a conditional include on the top of the present script. if ( !empty($_POST['addtocart']) ) { include('./the.update.script.php'); } Then redisplay the existing page with the new information. --Dan -- PHP classes that make web design easier SQL

Re: [PHP] php is not working with submit button

2002-07-08 Thread Terry Cheung
It works, really Thanks a lot to you all!! I will try to modify all my script. Philip Olson [EMAIL PROTECTED] ???:[EMAIL PROTECTED] This is an issue of the register_globals directive, the default went from off to on as of PHP 4.2.0 Either change your coding style or turn it back on.

[PHP] hide a select tag

2002-07-08 Thread Anil Garg
Hi, sorry for going a lil out of way of php. can i hide a drop down menu.(as i always want to pass the default value selected in the drop down. thanx and regards anil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] hide a select tag

2002-07-08 Thread Martin Clifford
Just create a hidden form field with the value you want to pass. input type=hidden name=name value=value to pass / HTH Martin Anil Garg [EMAIL PROTECTED] 07/08/02 01:35PM Hi, sorry for going a lil out of way of php. can i hide a drop down menu.(as i always want to pass the default value

Re: [PHP] ini_set() broken?

2002-07-08 Thread Rasmus Lerdorf
master is the top-level default value set in either your php.ini if you have that file and have a specific value set, or ir not it is the PHP default for the config value. The local is the per-request setting set either in httpd.conf, .htaccess or locally in the script. On Mon, 8 Jul 2002,

[PHP] Re: hide a select tag

2002-07-08 Thread colin mcdonald
why not use a hidden field instead of a select? Anil Garg wrote: Hi, sorry for going a lil out of way of php. can i hide a drop down menu.(as i always want to pass the default value selected in the drop down. thanx and regards anil -- PHP General Mailing List

Re: [PHP] Linux Newsgroup???

2002-07-08 Thread Chris Hewitt
Scott, There are many mailing lists at https://listman.redhat.com/mailman/listinfo though mainly RedHat orientated. I expect other distributions have their equivalents too. There are also those a vger.kernel.org, which includes a linux-newbie one, the others tending to more aimed at the

  1   2   3   >