[PHP] Google Summer Of Code : The PHP Project

2009-03-23 Thread Nabil Khamassi
nd of this semester in ENSIMAG) but also on parsers that I am studying all along this year. I really look forward to hearing from you. Yours faithfully. Nabil KHAMASSI. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] dynamic table

2004-05-26 Thread nabil
Hiya, How can i draw a new AFTER FIVE in the following loop (i want to echo the records in 5 columns width tables whatever the number of records will be fetched) .. echo ''; while ($myrow = mysql_fetch_array($sql)) { echo $myrow[0]; } echo ''; regards -- PHP General Mailing List (http://

[PHP] PHP time zone

2004-04-13 Thread nabil
how can get a specific time zone, not the server time. example: if the server time is 13:15:46 I need to output that time +5hours so 18:15:46 because the hosting server time is not my local or other area time.. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] 'Content-Type: text/plain; charset=utf-8'

2004-04-01 Thread nabil
I need to echo a plain txt on my page, without any HTML tags. my problem, when I run it on my apache, the save/open screen pops up. What's wrong please help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP charset encoding

2004-03-30 Thread nabil
t UTF-8 so dumping your data using it will screw it up is it a way to convert it inside the database... Explain to me please , or if you can tell me where to find my answers (not google) Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Calendar.

2004-01-15 Thread nabil
"Carles Xavier Munyoz Baldó" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, Is there any PHP function or set of PHP files that allows me to print the current month in calendar format ? Greetings. --- Carles Xavier Munyoz Baldó [EMAIL PROTECTED] http://www.unlimitedmail.net/ --

[PHP] Re: PHP Calendar.

2004-01-15 Thread nabil
catch the out put of Linux exec('cal'); and for the year exec('cal 2004'); regards "Carles Xavier Munyoz Baldó" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, Is there any PHP function or set of PHP files that allows me to print the current month in calendar format ? Greetings

[PHP] Re: Week calculating

2004-01-13 Thread nabil
sorry but what do u think about this ? >>>>".$daterest.""; } } } ?> the problem that it outputs 6 weeks in March ... why ? "Nabil" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings; > > I need a help he

[PHP] Week calculating

2004-01-13 Thread nabil
so it should depends on the year not only current day+7 any help please !! Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Hiding files away from /public_html/

2004-01-12 Thread nabil
greetings Would you tell us how to create a script to read these files, extract their contents and create temporary PNG/JPG/GIF files on the fly ?? in this case we can (as u said) store the pictures content in the mysql and output them when we like Regards <[EMAIL PROTECTED]> wrote in message new

[PHP] critical case, please read and comment !!

2004-01-09 Thread Nabil
I have the following example case: 1- More than 1000 record in my MySQL database. 2- I have to submit those record via HTTP GET or POST method. 3- I have to read the confirmation message that will be printed on the remote page showing me that the vars have been inserted in the remote database. 4-

[PHP] post vars not by form

2004-01-08 Thread Nabil
HI, Anyone can help , how to post variables from server side .. as from php page to other without HTML form and submistion ??? i want post method , to post my vars to another php on another server , then i have to read the body that will be printed by fopen ... so i can not use Location: example :

Re: [PHP] POST_RAW_DATA

2004-01-08 Thread nabil
It is working But i can not always control php.ini on the host ..!!! and i tried ini_set("always_populate_raw_post_data" , "1"); but not working , and i had to chanhe in my local php.ini ... Please Advice >I want to get the POSTED data as it is without letting php to parse it. You may be thinki

Re: [PHP] POST_QUERY STRING without letting php to parse it.

2004-01-08 Thread nabil
It is working But i can not always control php.ini on the host ..!!! and i tried ini_set("always_populate_raw_post_data" , "1"); but not working , and i had to chanhe in my local php.ini ... Please Advice "Mike Migurski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >I want to ge

[PHP] POST_QUERY STRING without letting php to parse it.

2004-01-07 Thread nabil
E that I don't want to use GET method. Please Advice Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Notice: Undefined variable

2003-10-04 Thread nabil
I got PHP Notice: Undefined variable Should I define always any var ?? when do I have do define a var?? example if I want to write -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] still not able to exec useradd with apache

2003-10-04 Thread nabil
still not able to exec useradd as apache -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] exec shell command from php

2003-10-01 Thread Nabil
hi all; - When i run php.. what user am i using ? is it apache user (nobody) ?? - How can i execute useradd command from php ? should i write it in pearl/cgi ?? - I want to grant my user on my web a free pop account (or webmail) so i need to create an user with bin/false so he has no shell login b

Re: [PHP] exec command

2003-10-01 Thread Nabil
so when i use php exec to do it , am i using apache user (nobody) or am i using php user , is there a php user ? so what can i do ? i want to execute #useradd -d /home/all -g wahtever -s /bin/false newuser as i want to create only pop user on the system when my user make regestration.. to give him

[PHP] exec command

2003-10-01 Thread nabil
hi all; I want to execute #useradd -d /home/all -g wahtever -s /bin/bash newuser how can I do it ... I used exec and shell_exec and system I tried all the following but with no hope exec('useradd -d /home/all -g wahtever -s /bin/bash newuser') or die ('not done'); exec('/usr/sbin/useradd -d /hom

[PHP] Re: How to connect ms sql server in linux apache+php?

2003-09-24 Thread nabil
You need to use FreeTDS to connect from Linux to ms sql server. and you have to recompile php with gd and mssql (example --with-mssql=/usr/local/freetds ) I did this 2 month ago and it work with me like a charm I\on very heavy load server. for any more info , email me back Nabil "Lar

[PHP] mySQL vs pgSQL | php vs others

2003-09-24 Thread nabil
but what do you all think ? nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CAN I CASH the output of PHP SCRIPT?

2003-09-23 Thread nabil
.com - Original Message - From: "Nabil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, 23 September, 2003 11:11 Subject: [PHP] CAN I CASH the output of PHP SCRIPT? Hi all; I would like to cash all the output of PHP files on my apache .. to increase the pe

[PHP] CAN I CASH the output of PHP SCRIPT?

2003-09-22 Thread Nabil
store all the HTML output from my PHP pages, that will apache serve instead of calling the PHP file every.. and should be a way to time the update ... Any idea ?? Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP output|Buffer, PLEASE ADVISE

2003-09-21 Thread nabil
picture and so on ... Please any advise ?? Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ANY ONE ANSWER ME PLEASE !

2003-09-18 Thread nabil
I m going to tear my hair off, I can not solve the problem.. with the stupid IIS i got the following error: The specified CGI application misbehaved by not returning a complete set of HTTP headers in php.ini cgi.rfc2616_headers = 1 cgi.force_redirect = 0 what should I do next ? -- PHP General M

[PHP] CGI Error, IIS

2003-09-14 Thread nabil
Why this happen with me with IIS CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php, denial of service attack

2003-09-07 Thread nabil
I have a postnuke website and i had denial of service attack the point is the attack is one only the home php page ... with cpu 100% and few apache procceses.. Any comment ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Can php/mysql handle 10000s of records

2003-09-07 Thread Nabil
I ran a script that dump thousands of records a seconds for over 100 copy.. and I got to a database with over 3,500,000 records and while I am dumping this huge date I ran also stimunasouly a select query that returned over 800, 000 record and it worked like a bullet ( this test was on P4 512M desk

[PHP] apache2 with php 432

2003-09-07 Thread Nabil
Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Compiling 4.2.3 with MySQL ... what does it look for?

2003-09-07 Thread Nabil
back Nabil "-{ Rene Brehmer }-" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > X-posted to PHP General, PHP DB, and MySQL > > Hi gang > > Attempting to get my Linux test-server working, but ran into a problem when > "making" PHP... >

[PHP] on specific time in the month do script!!

2003-08-14 Thread Nabil
true} else {return false} thanks Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: on specific time in the month do script!!

2003-08-14 Thread Nabil
No i think you get me wrong ... i have already in my web page some articles that i don't want to desplay on the first and second of every month at a specific hours... Please comment "Nabil" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > HI all; >

[PHP] php source code//php-imap/ php-devel ..etc

2003-08-09 Thread Nabil
,, why should i get zlib (by example)??? is there any documentation with a clear straight exapmle how do i compile it with all what i need (like apache - mysql - mssql - gd - and more ??) what exactly the php source code has packeges ??? Nabil -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] libtdsodbc.so

2003-07-29 Thread Nabil
r/lib do u think this is the problem causes i lost libtdsodbc.so ?? "Adam Voigt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It comes with FreeTDS, after you compile it, > it will be in: > > /path/to/freetds/lib > > > On Tue, 2003-07

[PHP] libtdsodbc.so

2003-07-29 Thread Nabil
any one has this file or even know anything about it ? thanks -- Nabil Attar Advanced Web Solutions /*** Everyone is a beginner once, and no one is an expert at everything. ***/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP port problem

2003-07-29 Thread Nabil
dea WHY!!! Because there is a firewall in the network between the Linux and the SQL server.. and it only allowed TCP port 1433, Nabil Attar Advanced Web Solutions /*** Everyone is a beginner once, and no one is an expert at everything. ***/ -- PHP General Mailing List (http://www.php.net

[PHP] HELP WITH ODBC freetds

2003-07-28 Thread Nabil
Hiya all; I have been trying so hard to get that done.. and i posted many here. but with no hope.. here is a summury of what i did: - I tried FreeTDS as a driver with unixODBC ... - Tried to remove mysql- apache - php and recomplied them with : iodbc - Tried to try openlink driver. - tried to upg

[PHP] HELP TO compile PHP in linux

2003-07-23 Thread Nabil
HI all; Please help me to compile php as i m not so expert in Linux, i have one installed php 4.1.2, and i downloaded the 4.3.2 one.. I need to upgrade because i need the new one with iodbc support not unixODBC. and i need it with ofcourse ( mysql - gd - iodbc (odbc) - mssql - apache ) I hav

Re: [PHP] ANY ONE CAN TELL ME WHAT PORT mssql_connect uses?

2003-07-21 Thread Nabil
Dear Michael; I am Requesting your help, Redhat 7.3 to connect to the remote windows MS SQL 7.0 Days and trying to use FreeTDS.. can you help please how to confiure php with sybase as you said?? because it told me mssql_connect call for undefined function... but actualy i need to use odbc_connect

Re: [PHP] ANY ONE CAN TELL ME WHAT PORT mssql_connect uses?

2003-07-15 Thread Nabil
how can i specify the port for the direct connection mssql_connect() can u give me some hints regarding the FreeTDS if i used it then i have to confugure the DSN in liunx am i wrong? "Michael Sims" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Tue, 15 Jul 2003 11:00:27 +0300, yo

[PHP] fake .php extension

2003-07-15 Thread Nabil
How can confugure Apache to execute a real php files but with fake extention like .foo or .pl or even .html? Regards Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ANY ONE CAN TELL ME WHAT PORT mssql_connect uses?

2003-07-15 Thread Nabil
ts will be appreciated.. Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] security- ports, your comments will be appreciated

2003-07-14 Thread Nabil
was right ... so I have to change to ODBC I heard about FreeDTS and iODBC, but I need some advice and notes to make it easy for me.. Please HELP.. and your valuable comments will be appreciated.. Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] timestamp problem !!

2003-07-14 Thread Nabil
L some time and then read it from MySQL, and i need to desplay it in as 2003-07-14 only .. What' shall i do ? Nabil "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wednesday 16 July 2003 02:00, Nabil wrote: > > > > $timy = &

Re: [PHP] timestamp problem !!

2003-07-14 Thread Nabil
Hi Chris.. thanks but your code generate the following error Warning: date() [function.date]: Unexpected error in . what's wrong? any idea ?? "Chris Boget" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > $timy = '20030714012548'; // time stamp from MySQL > > echo strtotim

[PHP] timestamp problem !!

2003-07-14 Thread Nabil
i have and i have a wrong result how can i extract the -MM-DD from the string $timy Please Advice Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Geting information from XML

2003-07-02 Thread Nabil
please i need like those classes , because i have to read from XML and insert into MySQL.. Nabil "Stephen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > There are a lot of classes that parse XML files. I can send you a few > functions I made myself to par

[PHP] please help

2003-06-30 Thread Nabil
I have a form like: . . while($row = mysql_fetch_array($result)) { ?> > http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] a question, need an answer

2003-06-21 Thread nabil
what is the diffirent between : // session_start (); $_SESSION['eventid'] = 'arma2'; /// and / session_start (); session_register('arama2'); /// Regards Nabil -- ""open source world, open mind for all"" --

[PHP] Re: correct session format?

2003-06-21 Thread nabil
So what is the diffirent between : // session_start (); $_SESSION['eventid'] = 'arma2'; /// and / session_start (); session_register('arama2'); /// Regards Nabil "Thomas Seifert" <[EMAIL PROTECTED]> wrote in messa

[PHP] Re: Header, Directory, and SESSIONs

2003-06-21 Thread nabil
data.. PLEASE COMMENTS "Andrew Warner" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 9:43 AM +0300 6/21/03, nabil wrote: > >4- I want if any user jumped to the other directory and logged in with the > >correct requested password TO HAVE THE FIRST SESS

[PHP] Re: Passing Variables

2003-06-21 Thread nabil
use hidden field (pure html) and then u have it as $yourhiddenfield on the next page even u have the register global off.. Nabil "Jay Fitzgerald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have been searching for an answer to this for a couple of hours

[PHP] Header, Directory, and SESSIONs

2003-06-20 Thread nabil
.. I HOPE I WAS CLEAR, and thanks for your patient again... :)) Regards Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Header, Directory, and SESSIONs

2003-06-20 Thread nabil
.. I HOPE I WAS CLEAR, and thanks for your patient again... :)) Regards Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fatal error: Call to undefined function: str_word_count()

2003-06-18 Thread nabil
when i use str_word_count() i got the following : Fatal error: Call to undefined function: str_word_count() and my PHP is Version 4.2.3 What is the problem ??? thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Difference between $_POST[foo] and $_POST['foo']?

2003-06-17 Thread nabil
A side question along with this ,,, how can I include $_POST['foo'] in the : $sql ="select * from db where apple = '$_POST['foo']' "; without getting an error ?? should I append it as $var= $_POST['foo']; before??? Thnx Nabil "Jar

[PHP] HELP PLEASE

2003-06-08 Thread nabil
AGES AND TRYING TO FIND A GOOD RSS CREATOR , PLEASE HELP, NOTE THAT I TRIED http://www.phpclasses.org . PHP Classes Repository BUT I DIDN'T MANAGE PLEASE HELP ME -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] FILE UPLOAD Q

2003-06-08 Thread nabil
Please help me , I want to make any user on my website to submit his CV , or any file to a temp folder, the following script create a "fupload" file , and I don't want to dump the original in it, I want to upload the file as it is, with its extension... by example Listing 9.14 A file uploa

[PHP] HARDWARE ID WITH PHP

2003-06-07 Thread nabil
Can anyone tell me if i can get the Hardisk serial number, by php code? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] TIMESTAMP -> Y-m-d

2003-06-05 Thread nabil
Please help me how to print a timestamp string retrived from the database, and print it as -MM-DD Nabil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MOUNT RAID !!!!

2003-06-03 Thread nabil
I have one hard SCSI installed on it redhat 7.3, and I add a two other SCSI hardisk with an RAID controller , and I need to copy some files form the RAID , how can I mount them?? How to mount a RAID??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] Any POSTNUKER, reading from two DB

2003-05-31 Thread nabil
Greeting, I have a postnuke site and I want to connect it to two databases in order to verify users from these databases. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cheap PHP+SQL WebHosting

2003-05-28 Thread nabil
www.spiderhosts.com i'v been for so long with them, and the service is good Nabil www.cabms.org www.d2ue.com "Arcadius A." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello! > Please, do you know of any cheap PHP+SQL web hosting company? > >

Re: [PHP] ANY POSTNUKER? Security problem!

2003-05-28 Thread nabil
Thanks so much, it's done "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You might still have the old cookie set with long lifetime, and while > this cookie exists, no new is created. > > nabil wrote: > > >I set the