Re: [PHP] Good Free PHP Editor - And it's not Edit Plus!

2001-03-18 Thread news.php.net
just a note: afaik editplus is no freeware. -- (::sebas::) ___ www.nijmegen.de sebas.tweakers.net www.weblab-online.de ""James Crowley"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear All, Given the

[PHP] How to UnRegist session when Close Browser

2002-03-14 Thread News.php.net
Hello,I'am Beginner in PHP, Now I meet a Problem with Session . I am Using Session to track my php web application Users ,I just want to know Who is online and Who has offline. I make a Quit Botton on my webpage, But Someone do not use it to quit my system .So I Can't know who has quit my system

[PHP] NNTP Services

2002-03-17 Thread news.php.net
Hello everyone I have a problem to post messages to newsgroups. How can i do it. thanks Muhammad Fawad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parsing error

2002-04-01 Thread news.php.net
Hi, I'm real new in php and trying to read a txt file this is my code : ?php $row = 1; $fp = fopen (lecteurs.txt,r); while ($data = fgetcsv ($fp, 1000, ;)) { $num = count ($data); $row++; for ($c=0; $c$num; $c++) switch ($row) { case 1 : { $vignette

[PHP] Newbies Question

2002-04-07 Thread news.php.net
Hi everybody, I'm a french newbie in PHP and I'm trying to resolve this : ?php $rf = fopen(album.dat, r); $row = 1; while ($data = fgetcsv ($rf, 1000, ;)) { $num = count ($data); print $num; //print p $num champs dans la ligne $row: br; //$row++; for ($c=0; $c$num; $c++) { //print $data[$c] .

[PHP] FTP Connection Problems

2001-08-31 Thread news.php.net
I'm getting the following error: Warning: Unable to find ftpbuf 0 in C:\directory\page.php on line 22 Whenever I try to connect to our FTP server...it does this whenever I make a call to ftp_login(). The server, username, and password are correct, and I can successfully FTP into it through

[PHP] Problem with session_is_registered

2001-06-21 Thread news.php.net
hi everybody, maybe I get smth. wrong, but as far as I know the function session_is_registered() is used to find out if a var is registered in a session... ok, now here is my example: [ index.php ] ?php $count = ; session_start(); session_register (count); $count = 1; ? . . . a

[PHP] php4 phplib

2001-06-29 Thread news.php.net
I upgraded php3 to php 4.0.6 on Linux 2.2.19+apache 1.3.17+sybase 11.9.2 and my phplib stoped to work. I am using Cart class and Sessions etc. Page_close sends the message: Database error: Invalid SQL: insert into active_sessions ( sid, name, val, changed ) values

[PHP] dir_object-read() on different platform

2007-09-17 Thread news.php.net
Hi! I have some text and JPEG files inside a directory like: 1992-7-11.txt 1992-7-11_pic1.jpg 2000-4-10.txt 2000-4-10_pic1.jpg 2004-5-2.txt 2004-5-2_pic1.jpg On a Windows box (XP + Apache), if I do a dir_object-read() for the directory, read() reads the files above in order (eg.

[PHP] books for php

2008-04-08 Thread news.php.net
Which are the good books for learning php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Any one have PHP voteBOOTH source code...?!?

2001-04-14 Thread news.php.net
hello... anyone know where i can downlaod voteBOOTH.php w/ the image viewer?! or does anyone have it that you can send to me..? thanxz! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Is this a bug?!!! I cna't believe! Sorry, if im wrong...

2005-01-30 Thread news.php.net
? class A { var $name; function A($str) { $this-name = $str; } } $arr = array(); //Put to array to objects of class A, // where their attribute A::a is assigned a different value //objects are assigned to an array by reference $a = new A(qaz); $arr[0] = $a; $a = new A(wsx);

Re: [PHP] Is this a bug?!!! I cna't believe! Sorry, if im wrong...

2005-01-30 Thread news.php.net
No news.php.net wrote: ? class A { var $name; function A($str) { $this-name = $str; } } $arr = array(); //Put to array to objects of class A, // where their attribute A::a is assigned a different value //objects are assigned to an array by reference $a = new

[PHP] Re: Still cnanot figure out with much easier example...

2005-01-30 Thread news.php.net
Just compare the output of print_r($arr) and foreach(...)... !!! Please, explain, or my understanding of the php is gonna ruin. Thanx, Mark. ? $as = array(); $a10 = 10; $a20 = 20; $a = $a10; $arr[] = $a; $a = $a20; $arr[] = $a; print_r($arr); foreach($arr as $a) { echo $a; } ?

[PHP] PHP ORA9.2.0 Stored procedure

2003-06-04 Thread news.php.net
Hi, I have deveolped a stored procedure within oracle 9.2.0. This procedure has an output parameter that is a defined as a REF CURSOR and I would to know if it is posible, using ORA functions in PHP, to run this procedure and retrieve the data contained by this REF CURSOR. I would be very

[PHP] Multiple posts.

2003-07-03 Thread news.php.net
I was wondering if there is a way to solve my problem. I want to send certain information to certain webpage for about 25 times ( I wanna make a webpage to send a SMS to every player in our soccer team). I can send the needed information to one server and it sends an SMS but how to do it 25 times

[PHP] Failed to initialize session module

2003-02-20 Thread news.php.net
Hi guys, having trouble with my win2k install of php 4.3.0 - can't run sessions! I have some test code: ?php /* SM 2/20/2003 9:21AM Basic session test */ session_start(); echo(pwhadda!) ? And it results in Fatal error: session_start() [function.session-start]: Failed to initialize session

[PHP] Memory used by script...

2003-02-21 Thread news.php.net
Hi... I got a big site, which is not very well constructed inside, and the script began to throw (rather often, but NOT always) a fatal error Fatal error: Allowed memory size of 8388608 bytes exhausted , every time in different places. I wonder how should I debug that, as there is pretty much

[PHP] Really simple question - /php directory above /web tree .htaccess contents

2003-03-08 Thread news.php.net
Greetings, I am using php on a Sun Cobalt Linux server with many virtual hosts. I want to have the /php directory one directory above the /web root so it is not accessible from browser command line execution but will execute from a click on an html page. CGI-PHP is installed but I need to know

[PHP] apache httpd + PHP authentication

2003-10-18 Thread news.php.net
Hello, httpd v1.3.27, php v4.3.0. I have a web page I wish to restrict access. I prefer to use the standard apache httpd authentication with .htaccess and password file. This method does not seem to work with PHP. A parser is called every time a page is accessed. If no page is defined,

Re: [PHP] apache httpd + PHP authentication

2003-10-19 Thread news.php.net
Chris Shiflett wrote: A parser is called every time a page is accessed. If no page is defined, the home page is loaded. Subsequent pages are linked with http://dictionary.reference.com/search?q=parser Very amusing. Okay, dispatcher would probably be a better name. It preps the environment

[PHP] How do I protect downloadable files?

2003-12-30 Thread news.php.net
Hello, I have wrtten a PHP based web site with a MySql backend and now I want to password protect downloadable files. I have logon and session handling taken care of but I can't figure out how to only allowed those who are currently logged in and above a certain security level to access the

[PHP] Use of Class Reference Variable in another Class

2004-02-04 Thread news.php.net
Inside of a class I am trying to make a call to a function in another class. I have one class defined to be my DataBase Interface call dbi. To use that class I do this: $db = new dbi; Then I can use the functions in dbi like this: $db-dbquery(select * from whatever); Inside another class

[PHP] check for inactive sessions

2004-02-08 Thread news.php.net
Ok, I've developed a system that allows N number of users to log-in to my site under the same username/password combo. When a user logs-in, a flag is set marking that they have logged-in, their session id is stored and the current # of user's logged-in is iterated by one. If a user account has a

[PHP] Arrays as session variables

2004-02-27 Thread news.php.net
OK gurus, I'm trying to create a page that allows me to create a table in my MSSQL database. I'm accepting the field info one by one in a form using a PHP_SELF action. This information is supposed to be collected in an array that's to be stored as a session variable for semi-permanance, until

[PHP] icmp echo / ping

2004-05-09 Thread news.php.net
Hi, I was wondering if it's possible to issue a icmp echo / ping without actually using the ping program supplied with the operating system. Anyone has an idea? Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Gd Library and Special Chars

2004-06-11 Thread news.php.net
Hi to all, I need to do parsing of html data from one site for find nick , guild, and some other infos... The problem is that gd doesn't print correctly chars like trademark, copyright, registered (which are contained in some nicks/guild names)... Someone know a valid solution??? -- Using

[PHP] Re: Gd Library and Special Chars

2004-06-11 Thread news.php.net
Ok, i have solved problem with copyright and registered by using imagettftext... But i still can't print correctly tm symbol :( On Fri, 11 Jun 2004 11:56:14 +0200, News.Php.Net [EMAIL PROTECTED] wrote: Hi to all, I need to do parsing of html data from one site for find nick , guild, and some

[PHP] I'm looking to have a simple webpage send an email . ..

2004-10-04 Thread news.php.net
Can anyone help me out? I just need a simple single webpage to send an email from the server. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Page that checks if a user exists on a remote system

2004-12-01 Thread news.php.net
I have two servers: ServerA and ServerB. One server serves web pages, the other serves mail. I am making a web page on ServerA that will access ServerB to find out if a users exists and if not then add that user to ServerB with information collected from the web page on ServerA. I have this

[PHP] Too many DELETE statements

2004-12-02 Thread news.php.net
I have 160,000+ members in my site. 40,000 of them have not logged in since 2003 and they should be deleted. A member is not deleted from only one table. Based on user id, he should be deleted from 5 tables and also his photo, if any, should be unlink(ed). I tried to do that 10 by 10 using:

[PHP] Modifying this PHP-based sourceforge.net web proxy

2004-08-18 Thread news.php.net
Attached is an awesome web proxy, which totally meets my needs, but I need it to be transparent. I need anyone accessing the computer that this is on to be automatically proxy-ed to a URL, but then let them navigate through the links just fine. I also do not want them to see the banner that's