Re: [PHP] passing arrays between pages with serialize

2002-08-02 Thread DoL
Thanks, I found the problem was with the creation of the 2-di array. - Original Message - From: Martin Towell [EMAIL PROTECTED] To: 'DoL' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 31, 2002 12:21 PM Subject: RE: [PHP] passing arrays between pages with serialize Can you

Re: [PHP] passing arrays between pages with serialize

2002-08-02 Thread DoL
Hi Valeri Thanks for your advise. I am new to php and have never used $_SESSION, is this the one that I need to session_register the variables/arrays? Thanks again. Dominic - Original Message - From: Valeri Felberg [EMAIL PROTECTED] To: DoL [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

Re: [PHP] Why Protect PHP coding?

2002-08-02 Thread Manuel Lemos
Hello, On 08/02/2002 01:47 AM, Php Banana wrote: Just out of curiosity when and why? When you want to sell your PHP applications or otherwise do not want to disclosed the knowledged embedded in the code. Is there any method to encrypt PHP files. -- Regards, Manuel Lemos -- PHP

[PHP] Can somebody explain this scripts to me?

2002-08-02 Thread L.Jacquiline
I have attached. begin 666 grab.txt M/#]P:' -T*)'5R; ]()H='1P.B\O=W=W+F-N;BYC;VTO5$5#2\B.PT* M#0HD9F0](9R96%D*9O5N*1UFPL(G(B*2P,3 P,# P*3L-T*:68 M*$D9F0I('L-T*96-H;R B0V%N)W0@9F5T8V0TY.(YE=W,B.V5X:70[ M#0H-GUE;'-EPT*#0H( )'-T87)T/2!S=')P;W,H)9D+ G/'-P86X

[PHP] How to Popup a Window Using PHP Code

2002-08-02 Thread Hakkan Lui
Dear all, As the title state, is there any method to popup a window (like window.open in Javascript), using PHP code? Thanks for your help. Regards, Hakkan Lui -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reg- array_unique

2002-08-02 Thread SenthilVelavan
Hello All, I tried a program using array_unique.It shows different outputs in PHP4.06 and PHP4.22 Program: ?php $employee[0]='snp'; $employee[1]='snp'; $employee[2]='snp'; $yee=array_unique($employee); while(list($i,$c)=each($yee)) { echo Index .$i. Content.$c; } ? Output

Re: [PHP] Reg- array_unique

2002-08-02 Thread Andrey Hristov
Post that on [EMAIL PROTECTED] Andrey - Original Message - From: SenthilVelavan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 10:54 AM Subject: [PHP] Reg- array_unique Hello All, I tried a program using array_unique.It shows different outputs in

Re: [PHP] How to Popup a Window Using PHP Code

2002-08-02 Thread René Moonen
Hakkan Lui wrote: Dear all, As the title state, is there any method to popup a window (like window.open in Javascript), using PHP code? Thanks for your help. Regards, Hakkan Lui Yep there is: ?php echo SCRIPT LANGUAGE='JavaScript'window.open();/SCRIPT ? But I suppose it is not

Re: [PHP] Can somebody explain this scripts to me?

2002-08-02 Thread Jason Wong
On Friday 02 August 2002 14:58, L.Jacquiline wrote: I have attached. If you seriously want people to look at it please resend it again as inline text and not as an attachment. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design

[PHP] Re: Need help to choose hosting!

2002-08-02 Thread JJ Harrison
I would recommend Infinology Smart Consumers: http://smartconsumers.infinology.com/ You should look at them. I use them and I am very pleased with their service. Their servers have very fast response times and the give you plentiful features. -- JJ Harrison [EMAIL PROTECTED] www.tececo.com

Re: [PHP] Can somebody explain this scripts to me?

2002-08-02 Thread 1LT John W. Holmes
On Friday 02 August 2002 14:58, L.Jacquiline wrote: I have attached. Looks like someone trying to steal stuff off of CNN. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ODBC under linux + PHP + Apache problem.

2002-08-02 Thread Jose Morales
I write a few days ago to the list with a problem trying to find my ODBC DSN under linux debian. Well, i solve the problem, now i can find my dsn from PHP code, but its seems like it crash when i do a odbc_connect(...) I know that unixodbc works becouse i test it with isql. I have no warnings

[PHP] StripSlashes Problem

2002-08-02 Thread Mark Colvin
I use the following php code to build a dynamic table retrieving values from a MySQL databases that have been inserted with slashes added - echo td width='100'input name='descr' type='text' size='45' maxlength='20' readonly value='.StripSlashes(mysql_result($badgedetails, $i, 'descr')).'

[PHP] htaccess

2002-08-02 Thread Theo Richel
Hi, I am told that I should edit my .htaccess file because I want to include a file during the execution of a script, but apparently I do something wrong because I keep getting error messages like these: Warning: Failed opening 'header.html' for inclusion

[PHP] Some suggestions

2002-08-02 Thread Saci
If you want a serius one , not the cheaper one try pair.com I use they services for more than 5 years and are very happy, the main issue is reliability. If you are more interested on price try dreamhost.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] StripSlashes Problem

2002-08-02 Thread 1LT John W. Holmes
I use the following php code to build a dynamic table retrieving values from a MySQL databases that have been inserted with slashes added - echo td width='100'input name='descr' type='text' size='45' maxlength='20' readonly value='.StripSlashes(mysql_result($badgedetails, $i,

Re: [PHP] htaccess

2002-08-02 Thread Alexander Kuznetsov
Hello Theo, Friday, August 02, 2002, 1:11:32 PM, you wrote: TR I am told that I should edit my .htaccess file because I want to include TR a file during the execution of a script, but apparently I do something TR wrong because I keep getting error messages like these: TR Warning: Failed opening

[PHP] Re: Need help to choose hosting!

2002-08-02 Thread lallous
have you tried: http://www.hostrix.com ? //Elias Mantas Kriauciunas [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey php-general, i want to buy hosting. but i can't find good one for me. maybe someone could point some links. but this is what i need!

RE: [PHP] StripSlashes Problem

2002-08-02 Thread Mark Colvin
John, Thank you for your reply. My magic_quotes_runtime is set to 'Off'. As you said, I shouldn't have to use StripSlashes but would I still need to use AddSlashes when inserting/updating? I can see the slashes in the database when I look at the tables but I am fairly sure that I do not add

Re: [PHP] StripSlashes Problem

2002-08-02 Thread 1LT John W. Holmes
If magic_quotes_gpc is ON, then the data is getting addslashes() automatically on a form submission. If you are doing it again, that's where the problem is. ---John Holmes... - Original Message - From: Mark Colvin [EMAIL PROTECTED] To: '1LT John W. Holmes' [EMAIL PROTECTED] Cc: Php

Re: [PHP] StripSlashes Problem

2002-08-02 Thread Petre
I would suggest you rather do the following ( over and above the htmlentities as already suggested ) In stead of doing echo html with single='quotes'; to rather echo 'html with double=quotes'; The reason is; there is a difference between echo 'stuff' ; and echo stuff; The first (single

RE: [PHP] StripSlashes Problem

2002-08-02 Thread Mark Colvin
John, Thank you. This solves the problem. Petre, Thank you for your reply. I wasn't aware of the difference and will bear this in mind. This e-mail is intended for the recipient only and may contain confidential information. If you are

Re: [PHP] Re: Need help to choose hosting!

2002-08-02 Thread Andrey Hristov
http://ispcheck.com is the place. Listing of many webhostings. Go and see. Regards, Andrey Hey php-general, i want to buy hosting. but i can't find good one for me. maybe someone could point some links. but this is what i need! Storage up to 100MB normal transfer

[PHP] Why do i get this Notice Message?

2002-08-02 Thread Jürgen
Hello! Could someone please tell me why i get the following Notice Message Notice: Undefined variable: PHP_SELF in g:\apache_web\intern\looney\index.php on line 101 Code affected: function WriteNewArticle() { Line 100: $smarty = new Smarty; Line 101: $smarty-assign(PHPSELF, $PHP_SELF); //

[PHP] Re: Why do i get this Notice Message?

2002-08-02 Thread lallous
In your function do this: function WriteNewArticle() { GLOBAL $PHP_SELF; ... } //Elias JüRgen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello! Could someone please tell me why i get the following Notice Message Notice: Undefined variable: PHP_SELF

RE: [PHP] Why do i get this Notice Message?

2002-08-02 Thread John Holmes
Could someone please tell me why i get the following Notice Message Notice: Undefined variable: PHP_SELF in g:\apache_web\intern\looney\index.php on line 101 Code affected: function WriteNewArticle() { Line 100: $smarty = new Smarty; Line 101: $smarty-assign(PHPSELF, $PHP_SELF);

RE: [PHP] Need help to choose hosting!

2002-08-02 Thread Daniel Kushner
You should check out The Hosting Company http://www.thehostingcompany.us/ The PHP config comes with many flavors: http://www.thehostingcompany.us/info.php --Daniel -Original Message- From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 2:31 AM To:

[PHP] Undefined Index

2002-08-02 Thread Jürgen
It's me again, i don't mean to be a bugger, but i really like to learn as much as possible, that's why i ask (or will ask so many questions). Consider the following (i shortened this a lot, but it will do the trick) $op = $_GET['op']; switch ( $op ) { case admin: DoLogin(); break;

[PHP] Date Stuff...

2002-08-02 Thread Brian McGarvie
Given a date how would you work out number of months elapsed between DateInPast and DateNow? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mktime() question

2002-08-02 Thread Jay Blanchard
Good morning! I need to subtract months by their abbreviated month name, so shouldn't this work? print(date(M, mktime(date(M)-$i)); and if I loop; Aug Jul Jun May Thanks! Jay What if the hokie pokie really is what it is all about *** *

[PHP] Re: Undefined Index

2002-08-02 Thread Lars Olsson
Hi! JüRgen wrote: It's me again, i don't mean to be a bugger, but i really like to learn as much as possible, that's why i ask (or will ask so many questions). Consider the following (i shortened this a lot, but it will do the trick) $op = $_GET['op']; switch ( $op ) { case admin:

Re: [PHP] Why do i get this Notice Message?

2002-08-02 Thread lallous
even on old versions of PHP, he can then just use: $GLOBALS['PHP_SELF'] w/o worrying about the Global keyword! Elias John Holmes [EMAIL PROTECTED] wrote in message 001001c23a1e$601f5050$b402a8c0@mango">news:001001c23a1e$601f5050$b402a8c0@mango... Could someone please tell me why i get the

[PHP] Re: Undefined Index

2002-08-02 Thread lallous
do this: $op = isset($_GET['op']) !empty($_GET['op']) ? $_GET['op'] : ''; JüRgen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... It's me again, i don't mean to be a bugger, but i really like to learn as much as possible, that's why i ask (or will ask so many

Re: [PHP] Date Stuff...

2002-08-02 Thread Stas Maximov
(YearsDifference*12)+FullMonthsDifference :) Regards, Stas. - Original Message - From: Brian McGarvie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 1:50 PM Subject: [PHP] Date Stuff... Given a date how would you work out number of months elapsed between

[PHP] include hassle

2002-08-02 Thread lallous
I have this: //file1.php ? include('../libs/lib1.php'); .. .. .. ? now lib1.php: ? include ('helper.php'); ? If i run file1.php -includes lib1.php - fails to include helper.php ! ! how can i solve that? p.s: currently, i'm chdir()ing to the ../libs path, then i return to current dir... my

Re: [PHP] Date Stuff...

2002-08-02 Thread Chris Boget
Given a date how would you work out number of months elapsed between DateInPast and DateNow? ( $monthTo - $monthFrom ) + (( $yearTo - $yearFrom ) * 12 ) I believe that's the correct equation for figuring out the number of months. Chris -- PHP General Mailing List

Re: [PHP] Undefined Index

2002-08-02 Thread Chris Hewitt
Jrgen wrote: $op = $_GET['op']; switch ( $op ) PHP shoots a Notice Message telling me that there is an undefined index Undefined index: act in g:\apache_web\intern\looney\index.php on line 177 If there is not a get variable in the url you will get the warning. Ok, am i correct in assuming

[PHP] Re: Protect PHP coding

2002-08-02 Thread lallous
So... Is this equivalent to Zend Encoder? Elias Manuel Lemos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, On 08/01/2002 01:58 PM, Yc Nyon wrote: Is there any method to encrypt PHP files. Use bcompiler which is free and is part of PEAR/PECL

[PHP] Re: Favorite Calendar Anyone?

2002-08-02 Thread lallous
have you searched hotscripts.com ? Shane [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Anyone have a favorite Calendar script out there they would like to share? - NorthBayShane -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP Hosting

2002-08-02 Thread Matt Babineau
If any PHP hosts are out there I have a question: How do you keep users from erasing / altering files out side of their web folder with PHP? Doesn't PHP run in the system user context? Is is possible to prevent a user from using PHP to alter anything but in their Web folder? Matt Babineau

RE: [PHP] Protect PHP coding

2002-08-02 Thread Matt Schroebel
From: YC Nyon [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 12:59 PM Subject: [PHP] Protect PHP coding There is the PHP Obfuscator/Obscurer: http://pobs.mywalhalla.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include hassle

2002-08-02 Thread Reuben D. Budiardja
On Friday 02 August 2002 10:02 am, lallous wrote: I have this: //file1.php ? include('../libs/lib1.php'); ? now lib1.php: ? include ('helper.php'); ? If i run file1.php -includes lib1.php - fails to include helper.php ! ! how can i solve that? We need more information that this.

[PHP] question about references

2002-08-02 Thread Jesse Vitrone
Tried to post this to the news group before, but I'm having trouble getting to my news server from work - hopefully I'm not posting a duplicate. I think I'm seeing the problem I'm seeing because I'm getting a copy of a var instead of a reference to it, but I'm not sure the best we to get around

[PHP] Re: Date Stuff...

2002-08-02 Thread Brian McGarvie
ta guys... works fine :) had a brain-freeze :) Brian McGarvie [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Given a date how would you work out number of months elapsed between DateInPast and DateNow? -- PHP General Mailing List

Re: [PHP] Re: Dynamically check radio buttons

2002-08-02 Thread Shew
Hey Mark, Thanks. I understand. I'm actually a Cold Fusion programmer. I've tried what you suggested but can't seem to get it work - code attached. However, I can display the radio button if I use the $_POST function. I'm not sure if it's the version of php I'm using. Stats - windows 2000 Sp1,

Re: [PHP] include hassle

2002-08-02 Thread lallous
I mean this: i have this tree: ./libs/*.php ./user/file1.php now i'm in ./user/ directory i run file1.php it includes ../libs/lib1.php which in turn will include helper.php (./users/helper.php) -- will fail! how can i programmatically set the include path? Elias Reuben D. Budiardja [EMAIL

[PHP] Re: question about references

2002-08-02 Thread lallous
yes, true! try this patch: if (strcmp($name-firstName, homer) == 0) { echo changing homer to margebr; $name-firstName = marge; $names[key($names)]-firstName = marge; good luck, Elias Jesse Vitrone [EMAIL PROTECTED] wrote in message

RE: [PHP] PHP Hosting

2002-08-02 Thread John Holmes
Safe_mode = ON Open_basedir restrictions Use PHP in CGI mode and each runs as it's own user with access to only it's own file (may require separate Apache's, too...) ---John Holmes... -Original Message- From: Matt Babineau [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002

Re: [PHP] PHP Hosting

2002-08-02 Thread Danny Shepherd
Take a look at this directive : http://www.php.net/manual/en/configuration.php#ini.open-basedir Danny. - Original Message - From: Matt Babineau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 2:04 PM Subject: [PHP] PHP Hosting If any PHP hosts are out there I

[PHP] isset($var) !empty($var) same time!

2002-08-02 Thread lallous
I have wrote this function: function issne($var) { return isset($var) !empty($var) ? true : false; } which can be called as: if (issne($mightbeundefinedvariable)) echo using this variable; is there is any builtin function that does that? (one function call). //Elias -- PHP General

RE: [PHP] mktime() question - SOLVED

2002-08-02 Thread Jay Blanchard
[snip] I need to subtract months by their abbreviated month name, so shouldn't this work? print(date(M, mktime(date(M)-$i)); and if I loop; Aug Jul Jun May [/snip] Apparently not. But you can subtract by total hours in a given period, so for an average I chose 30 days * 24 hours

RE: [PHP] Problem with ?xml .... inside the PHP code, due to ?

2002-08-02 Thread Brinkman, Theodore
Turn off the short tag option in the PHP ini file, and always use '?php' as your php start tag. When short tags are enabled, PHP sees the '?' in '?xml', and assumes it is a start tag. - Theo -Original Message- From: Scott Fletcher [mailto:[EMAIL PROTECTED]] Sent: Thursday,

RE: [PHP] Re: Dynamically check radio buttons

2002-08-02 Thread Mark Middleton
Shew, http://www.whirledweb.com/phptest/InsertPicks3.php It looks like the issue here is Capitalization. PHP is very capitalization sensative. (which I believe that Cold Fusion is less picky about) And your code looks great, save a couple little issues that may have made it even more

Re: [PHP] isset($var) !empty($var) same time!

2002-08-02 Thread Analysis Solutions
On Fri, Aug 02, 2002 at 04:48:17PM +0200, lallous wrote: function issne($var) { return isset($var) !empty($var) ? true : false; } is there is any builtin function that does that? (one function call). Yes. Just use empty(). It automatically checks if the variable is: not set

[PHP] .htaccess

2002-08-02 Thread Oliver Witt
Hi! Using an .htaccess file to limit access to some web files, is there a way to get the name and password into a variable used by a user to log on? Kind regards, Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .htaccess

2002-08-02 Thread Andrey Hristov
The password that user used is available in some var var_dump($HTTP_SERVER_VARS); or var_dump($GLOBALS); Andrey - Original Message - From: Oliver Witt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 5:21 PM Subject: [PHP] .htaccess Hi! Using an .htaccess file

[PHP] Problems with HTML forms and PHP. Please Help !!

2002-08-02 Thread Sebastian Tomasino
Hi! i have instaled PHP 4.2.2 in a slack 8.1 running apache 2.0.39. i have a proble with a very basic script (pass variables to a php script). Is seems not recieve variables, because print somthing like this: Your first name is . Your last name is . Your E-mail address is . This is what you had

Re: [PHP] Re: Dynamically check radio buttons

2002-08-02 Thread Shew
Hi Kirk, Thanks. Never knew you could do that. I'll try it out. Shew Kirk Johnson [EMAIL PROTECTED] wrote in message 01A4B59FD1EBD311838100A0C98BE0D9023C49D1@chef">news:01A4B59FD1EBD311838100A0C98BE0D9023C49D1@chef... If you made an array for your buttons, then you could use PHP's looping

Re: [PHP] include hassle

2002-08-02 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Lallous) wrote: how can i programmatically set the include path? http://php.net/ini-set -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .htaccess

2002-08-02 Thread Andrew Brampton
place a phpInfo() page behind the .htaccess and you will see what varibles php has :) I'm pretty sure there is ones contianing the username/password that was entered Andrew - Original Message - From: Oliver Witt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 02, 2002 3:21

[PHP] FATAL: emalloc(): Unable to allocate -83128 bytes

2002-08-02 Thread Klaus Svarre
I get the error msg mentioned above when I use the ereg() function. What is it, that I don't know? Best regards Klaus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Hosting

2002-08-02 Thread Andrew Brampton
This has been discussed in great detail before.. but the simplist solution is running PHP in safe mode, it does limit the user to certain things, but it stops them bringing the server down or altering others files andrew - Original Message - From: Matt Babineau [EMAIL PROTECTED] To:

Re: [PHP] Why Protect PHP coding?

2002-08-02 Thread Nick Oostveen
Check out the Zend Encoder at http://www.zend.com to generate encoded php files. It is, however, a bit pricey. At 12:47 AM 8/2/2002 -0400, php banana wrote: Just out of curiosity when and why? Is there any method to encrypt PHP files. Nyon -- PHP General Mailing List

Re: [PHP] isset($var) !empty($var) same time!

2002-08-02 Thread Jürgen
But if this is true what you say, that empty() checks for not set null an empty string zero Why would i ever want to use isset() then? If i understood you correctly, would the following op = isset($_GET['op']) !empty($_GET['op']) ? $_GET['op'] : ''; be the same as op =

[PHP] HELP with forms

2002-08-02 Thread Dave Leather
Is there a way to read a FORM varaiable into PHP variable. The kicker here is the form variable is in a framed window. Example, I have my main page in a 2 part frame (90%/10%). The bottom 10% has a form on it called 'fileform' with one text box called filevalue -- source snippit -- FORM

Re: [PHP] HELP with forms

2002-08-02 Thread Michael Sweeney
What do you mean, return it to a php variable? The closest I can come to understanding your question is that you want the form input in your bottom frame to be sent to another frame in your top window for submission. If that's any place close to correct, you need a javascript solution. In any

Re: [PHP] include hassle

2002-08-02 Thread Reuben D. Budiardja
On Friday 02 August 2002 10:41 am, lallous wrote: I mean this: i have this tree: ./libs/*.php ./user/file1.php now i'm in ./user/ directory i run file1.php it includes ../libs/lib1.php which in turn will include helper.php (./users/helper.php) -- will fail! how can i programmatically

[PHP] HELP with fOpen

2002-08-02 Thread Shane
No lock in the archives, so here it goes... Greetings all, I am using fOpen to try and create a new file in a local directory on a remote server. Each time I run my script is says PERMISSION DENIED but the sys admin swears the entire directory is set to 777. Does anyone know if a setting has

Re: [PHP] isset($var) !empty($var) same time!

2002-08-02 Thread Analysis Solutions
Folks: On Fri, Aug 02, 2002 at 07:01:38PM +0200, Jürgen wrote: Why would i ever want to use isset() then? Because sometimes you just want to check if something is set due to null, '' and 0 being important. $var = ''; empty($var); // evaluates to true isset($var); // evaluates to

[PHP] Gracias

2002-08-02 Thread Sebastian Tomasino
Muchas gracias fernando por tu explicacion !! Con Mas detalle Imposible !! todavia no se como es que me llego tu respuesta a mi correo y no aparece aca en el news group (soy nuevo usando news) pero igual muchas gracias.. Sebastian. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Thanks Matt

2002-08-02 Thread Sebastian Tomasino
thank you matt for explain what´s wrong.. short but helpfull !!! Sebastian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function search utility

2002-08-02 Thread Brian V Bonini
There used to be a utility that let you search php functions from the address bar in your browser by simply appening PHP to the function name eg, php mail I thikn it might of been an IE only thing... I can't remember were I originally got it form and can not find it again, does anyone know?

Re: [PHP] Need help to choose hosting!

2002-08-02 Thread Michael Sweeney
I just moved my domain over to phpwebhosting.com. The transfer went very smoothly and so far I've been satisfied. The only hitch I can see in your requirements might be the background processes (bots, what?). But it's probably worth asking them about. ..michael.. On Thu, 2002-08-01 at 23:31,

Re: [PHP] Re: Protect PHP coding

2002-08-02 Thread Randy Johnson
Does the bcompiler below improve performance? make scripts run faster? anybody have a testimonials on it's use?? Thanks, Randy - Original Message - From: Manuel Lemos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 01, 2002 9:14 PM Subject: [PHP] Re: Protect PHP

[PHP] fsockopen limits

2002-08-02 Thread Ilja Polivanovas
Hi to all, 1. does any body know how to limit number of attempts to connect to the remote pc. not by time but for attempts. (sorry, offtopic ) 2. can anybody explain why sometimes connection attempt to a closed ports hangs-up remote link, and sometimes not? the remote pc is the same. Thanks.

[PHP] Reading in contents of URL

2002-08-02 Thread Mike C
I am trying to create a really simple proxy using PHP. Basically, i need to: 1. read in the contents of a URL. 2. get the content-type 3. set the content type for the response 4. write the contents of the URL to the response. here is what i have thus far: $dataURL =

[PHP] ODBC

2002-08-02 Thread Ashley M. Kirchner
Can PHP be used on an Apache server (linux) to connect to a (remote) MS Access server (NT) through ODBC? If so, does anyone have examples of how this is done? And if not, what other choices do I have? -- W | I haven't lost my mind; it's backed up on tape somewhere.

[PHP] Re: Function search utility

2002-08-02 Thread Lars Olsson
It still works...try http://www.php.net/mysql or http://www.php.net/fopen for example... /lasso ([EMAIL PROTECTED]) Brian V Bonini wrote: There used to be a utility that let you search php functions from the address bar in your browser by simply appening PHP to the function name eg, php

[PHP] wonder why php as apache module can work with virtual host

2002-08-02 Thread Ryan
I dunno why some webhosting company can do virtual host by php as apache module. That means they seem to work fine with the virtual host uid/gid permission when using php. But they use php as apache modulehow do to that ?? Thx all !! -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: value submit button

2002-08-02 Thread Ryan
ug Florian SchäFer wrote: Hallo out there, i hava an document, with one form and two Submit buttons. How can i check in the target document wich button is pressed? tried something like if ($submit == 'xxx') . anyone has a hint? -- PHP General Mailing List (http://www.php.net/) To

[PHP] test

2002-08-02 Thread Ryan
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] share librearies from repository

2002-08-02 Thread Ricardo Javier Aranibar León
Hi List, I need your help. I wrote my classes with php where I defined my objects, then I created my repository in /usr/share/php , in this directory are my clasess. Now, from my directory web I like to call to my classes, then I modified my php.ini (/etc/php.ini) and inserted this line, in

[PHP] re:Using PHP to reboot the linux server

2002-08-02 Thread Harpreet Kaur
I am using the below command in the php page to reboot the linux server. But nothing happens . Where am i wrong or do i have to give a path or nething . Please help. $output = shell_exec(`reboot`); echo $output; _ Join the

[PHP] Re: Using PHP to reboot the linux server

2002-08-02 Thread Ryan
Is it `reboot -n` ?? Harpreet Kaur wrote: I am using the below command in the php page to reboot the linux server. But nothing happens . Where am i wrong or do i have to give a path or nething . Please help. $output = shell_exec(`reboot`); echo $output;

Re: [PHP] re:Using PHP to reboot the linux server

2002-08-02 Thread Nick Oostveen
Does the user apache is running as have access to reboot the server? At 07:18 PM 8/2/2002 +, you wrote: I am using the below command in the php page to reboot the linux server. But nothing happens . Where am i wrong or do i have to give a path or nething . Please help. $output =

[PHP] Vars passed via URL disappearing

2002-08-02 Thread Monty
I just upgraded to PHP 4.2.2 and am trying to make my sites work with register_globals turned OFF. I notice, however, that with register_globals turned off any variables I pass via the URL don't seem to be recognized by the script it was passed to. So, if I pass

[PHP] User Authentication Problem.

2002-08-02 Thread Tony Harrison
Hi, I need to authenticate users on an included page on my website, but the problem is, I cant get it to work. view it included at http://members.lycos.co.uk/ajohnh/ (Source at http://members.lycos.co.uk/ajohnh/source/index.txt) the actual file:

Re: [PHP] Vars passed via URL disappearing

2002-08-02 Thread Steve Edberg
At 3:29 PM -0400 8/2/02, Monty wrote: I just upgraded to PHP 4.2.2 and am trying to make my sites work with register_globals turned OFF. I notice, however, that with register_globals turned off any variables I pass via the URL don't seem to be recognized by the script it was passed to. So, if I

Re: [PHP] Re: ldap_add() - null values in fields produce an value #0 invalid per syntax error on ldap server

2002-08-02 Thread Stig Venaas
On Thu, Jul 18, 2002 at 08:17:59PM -0500, Richard Lynch wrote: #0 is basically just LDAP's way to represent NULL, most likely. $info[mail]=; // - NULL VALUE HERE // The following lines also produce the same result... //$info[mail]=NULL; // --- NULL value here

Re: [PHP] ldap_modify parameters?

2002-08-02 Thread Stig Venaas
On Thu, Aug 01, 2002 at 09:52:12AM -0400, Chad Day wrote: Also tried that, no success, unless I am missing something. ... $info[st]=stchanged!; ... ldap_modify($ds, 'uid=testing,cn=online-leagues.com', $info); Fatal error: LDAP: Unknown Attribute in the

[PHP] Re: Using PHP to reboot the linux server

2002-08-02 Thread Scott Fletcher
First thing first! Open up the terminal and log in. Then type the command, if the machine doesn't reboot or if you got an error message, it meant the command is not correct. Once you get the correct command then use it in PHP. It's much simplier that way. If PHP can't reboot the machine then

[PHP] PHP and MySQL

2002-08-02 Thread Erich Kolb
Is there any way to speed up MySQL queries? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] share libraries from repository

2002-08-02 Thread Ricardo Javier Aranibar León
Hi List, I need your help. I wrote my classes with php where I defined my objects, then I created my repository in /usr/share/php , in this directory are my clasess. Now, from my directory web I like to call to my classes, then I modified my php.ini (/etc/php.ini) and inserted this line, in

[PHP] Parsing XML into PHP array.

2002-08-02 Thread Scott Fletcher
I'm having trouble getting the XML string to be broken up into the PHP array. Here's how it work. I send the XML request in a string to the credit bureau through cURL and vice versa. Most of the PHP scripting I found everywhere spoke about breaking up the xml tag into the array only when they

RE: [PHP] PHP and MySQL

2002-08-02 Thread Shane
-Original Message- here any way to speed up MySQL queries? -- Sure, ask for only the data you need. or halt your query when you have what you need. HTH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: ODBC

2002-08-02 Thread Scott Fletcher
Yes! Unfortunately, you'll have to install the special driver on the Linux/Unix becuase of the communication difference between UNIX Windows as well as the language difference between these two. I tried using iODBC and openLINK. After 1 1/2 years, I decided that open source code for this is

[PHP] Re: PHP and MySQL

2002-08-02 Thread Monty
Indexes Putting strings in single quotes instead of double (WHERE id = 'something') Normalized database design. - Monty From: [EMAIL PROTECTED] (Erich Kolb) Organization: RB Receivables Management, Inc. Reply-To: Erich Kolb [EMAIL PROTECTED] Newsgroups: php.general Date: Fri, 2 Aug 2002

[PHP] Email failure????

2002-08-02 Thread Scott Fletcher
What give?? I post the command and replied to some other posting. It made it through and was posted without a problem! I kept getting the email from PHP server saying Sorry. Your message could not be delivered to: brian-phplist,emc (The name was not found at the remote site. Check that the

RE: [PHP] Email failure????

2002-08-02 Thread Shane
Yes Scott, I get that too. But hey, it's friday! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help!!! CVS install broke for me!

2002-08-02 Thread Rick Kukiela
ok, i do a make and it makes fine but when the make install i get an infinite loop of this error: Warning: mkdir(): File exists in /usr/local/src/php4/pear/System.php on line 235 I went to the code and i tried putting a line that says this: if(file_exists($newdir)) { $ret = exec(/bin/rm -rf

  1   2   >