[PHP] how can I log to my cvs in php.net and translate files

2002-07-15 Thread Alawi
Hi I want to use my cvs to log to php.net servers and get the manual files and translate it to arabic .. How can I log to cvs and what the important setting and info for that ? How can I log using Wincvs -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Multiple Tables -add, edit, delete

2002-07-15 Thread Richard Lynch
Problem: How do I display all the tblCountriesOfOperation for one tblContacts record SO THAT MULTIPLE COUNTRIES CAN BE ADDED OR DELETED FOR THAT RECORD? create table contacts( contact_id int(11) unsigned auto_increment unique not null primary key, name text ); create table countries(

[PHP] Re: PHP codes and variables

2002-07-15 Thread Richard Lynch
Anyone know how to do have a variable equal the contents of a file? I tried the include function, but it just prints the file out on the screen rather than including the contents in the variable itself. I need help with this ASAP. Thanks. ?php $data = file('/full/path/to/filename') or

[PHP] Re: Gainesville, Florida PHP Users? (Re: [PHP-WIN] PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area)

2002-07-15 Thread Richard Lynch
Well I don't see a user group listed for Gainesville, FL... and we could have a cool acronym too PUGG (php users group of gainesville) ok, that's a first attempt, but anyway So are there other Gainesville, Florida folks around? If so please drop me a link and maybe we can form a

[PHP] Re: is_null question

2002-07-15 Thread Richard Lynch
It looks like I should be using is_null(), but I'm not sure how to use it, especially since all of this is embedded in a print statement. Disclaimer: is_null() is new-fangled, and while I assume it matches up with SQL NULL, it's *POSSIBLE* that PHP's NULL is for something entirely different than

[PHP] Re: hello the list

2002-07-15 Thread Richard Lynch
i'm new and i'm trouble with this code :'( can U help me please ?? This would be much easier if you told us what was going wrong... I'll point out the ones I see, but it's just a guessing game (not a very fun guessing game). while ($cd_tbl = mysql_fetch_array ($result)) { if(is_int($cd_id) =

[PHP] Re: Creating an PHP program and C program

2002-07-15 Thread Richard Lynch
I wrote some times ago an library to draw graphics in 2 and 3 D, but this sources are write in C, whats the procedures I need to use this rotines in PHP. You need to create a PHP extension library. Samples are in Rasmus' talks at http://conf.php.net They are Un*x .so files on steroids --

[PHP] Re: Training / Courses in Australia

2002-07-15 Thread Richard Lynch
Would anyone know of any PHP training or courses in Australia... Luke and Laura :-) run a fabulous PHP program through the Royal Mumble Iblle T-something... Royal Melbourne Institute of Technology? Also for the devolopers... Is there at present, or a future plan for a PHPCE A certified

[PHP] Re: DOM XML : experimental ?

2002-07-15 Thread Richard Lynch
I am planning to use PHP to develop some scripts that will need to create and manipulate html pages. One of the things that will be created is a DOM tree of the html. After reading the manual I've found that php supports the event-driven and dom xml, but with the latter tagged as

[PHP] Re: IF inside LOOP?

2002-07-15 Thread Richard Lynch
I’ve been fooling around with a LOOP which should show one or more text string stored in separate rows in a DB. The trick would we to separate them with commas (,) when there’s another string to show or end it with a period (.) if no other row is found according to the SELECT criteria. This is

[PHP] Re: ignore_user_abort question

2002-07-15 Thread Richard Lynch
Hi, got a question. What happend if ignore_user_abort is true, and the user closes the window? Also, i tried, but i push the stop button, and the script stops, shouldn ignore that?. I *THINK* ignore_user_abort() is only useful with some browsers... Or, perhaps, it relies on Apache figuring

[PHP] Re: fputs - need help!

2002-07-15 Thread Richard Lynch
Hi I use this line fputs ($sysname_log, $time - SystemName: $sysname\n); I would like to get a log file, and everytime I refresh this page it will make a new line and write $the local time - SystemName: $sysname So after a while it will look like this $the local time - SystemName: $sysname

[PHP] Re: dio_seek, dio_tell

2002-07-15 Thread Richard Lynch
Hi, I have two questions: what is the meaning of (int type) return value of dio_seek() function in PHP ? second question: how can I get the position in file, pointed by file descriptor (dio_*() )? In C/C++ language, this is implemented in ftell function. http://php.net/fseek

[PHP] Re: Detecting network connections

2002-07-15 Thread Richard Lynch
Is there any way I can set up a php script so that it will detect the login of the current Netware user on a PC and use that user's information to customize a greeting for the user? Almost for sure, no. But, to be 100% sure, do this: ?php phpinfo();? And surf from that Netware box to it.

[PHP] Re: PHP 4.3.x..

2002-07-15 Thread Richard Lynch
One of the threads above Speak of PHP 4.3 I was not aware that it existed... Is it still in its Testing stages? How come its not on the PHP Website? Are there any great modifications to it? If other need to look even farther ahead, http://cvs.php.net is a safe bet for the most recent

[PHP] Re: outputting a pdf file to IE browser? POST/GET method bug or not?

2002-07-15 Thread Richard Lynch
this is fine under netscape but IE has problems. consider the following code: but this code which only has the difference of using the POST method instead of the GET metod results in a file is corrupt message! Assuming there's not something more subtle going on... My best rationalization is

[PHP] Re: newbie: mysql statement

2002-07-15 Thread Richard Lynch
I want to update the most recent record (based on the timestamp in field posted) where the parent field == a specified value (in a table called header). I tried the following mysql statement: UPDATE header WHERE parent = '$this-postid' ORDER by posted SET parent='$this-parent' LIMIT1; but

[PHP] Re: Solaris 8 + php 4.2.1 setup problem

2002-07-15 Thread Richard Lynch
I am trying to get PHP 4.2.1 installed on Solaris 8 with apache 1.3.22. It installed ok, but when I restart apache I get the follow error in my error_log file. /usr/local/apache/logs/error_log [Thu Jul 11 13:13:11 2002] [notice] Apache/1.3.22 (Unix) PHP/4.2.1 configured -- resuming normal

[PHP] Re: Installing MYSQL on Windows

2002-07-15 Thread Richard Lynch
Can anyone tell me steps for installing MYSQL on windows ?? 1. Download from http://mysql.com 2. Follow the instructions in the download. If you get stuck, you've *GOT* to say which *VERSION* of Windows, since they are all too damn different. :-) -- Like Music? http://l-i-e.com/artists.htm

[PHP] Re: Multi-Part PostToHost?

2002-07-15 Thread Richard Lynch
fputs($fp, Content-Type: multipart/form-data; boundary=AaB03x\n); fputs($fp, --AaB03x\n); fputs($fp, Content-Disposition: form-data; name=variable1\n); fputs($fp, \n); fputs($fp, Variable 1 Data\n); fputs($fp, --AaB03x\n); fputs($fp, Content-Disposition: form-data; name=files;

[PHP] Re: PHP and Jigsaw

2002-07-15 Thread Richard Lynch
With Jigsaw's debug facility Enabled, I get two lines on the page and the same two lines (without html tags of any sort) in view source display: X-Powered-By: PHP/4.2.1 Content-type: text/html If these two lines are showing up in the BROWSER, then something is pretty wrong... They're supposed

[PHP] Re: [PHP-DEV] OOH Forms ?

2002-07-15 Thread Arnaud Limbourg
Hello, There is such a library, you can find it in PEAR. It needs some cleanup and improvements though. Arnaud. Hi there I came across with some reference indicating there was a library called OOH forms, wondering if anyone knows about the status of that lib, or has those features been

[PHP] Complex session issue

2002-07-15 Thread Divyank Turakhia
I have a situation where I have one browser window open for lets say web application 'x'. Now I want my user to goto application 'y' on the same domain in a new browser window by passing the authentication information from application 'x' to application 'y'. I obviously donot want my session

<    1   2