Re: [PHP] control REMOTE_ADDR header
this site is blocked in my country , is it php class ? is there php On Fri, 21 Jan 2005 22:55:53 -0600, Greg Donald [EMAIL PROTECTED] wrote: On Sat, 22 Jan 2005 06:52:37 +0300, Alawi Albaity [EMAIL PROTECTED] wrote: I Want to control some privacy is there class to help me do that ? http://www.anonymizer.com/ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] control REMOTE_ADDR header
I Want to control some privacy is there class to help me do that ? On Sun, 16 Jan 2005 19:59:30 -0800 (PST), Richard Lynch [EMAIL PROTECTED] wrote: Alawi Albaity wrote: how can I can send http request with my chosen REMOTE_ADDR is there a class to do that or method in php ? I'm not 100% certain, but I think REMOTE_ADDR comes from data embedded in the TCP/IP info... So, basically, you'd have to seriously hack things to forge your return IP address... And then the data would go to somebody else. *WHY* do you think you need this?... -- Like Music? http://l-i-e.com/artists.htm -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] control REMOTE_ADDR header
how can I can send http request with my chosen REMOTE_ADDR is there a class to do that or method in php ? -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP5 Namespace ?
is really that the support for namespace in php5 is removed ? or there are replacment for it ? -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Regular expression
How can I grap number written in specifec place in html I try this : preg_match_all(/ TR TD bgColor=#e4e4e4 PBtest:\/B\/P\/TD TD P(*[0-9])\/P\/TD\/TR TR/,$html,$match); its not work How can I do that -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] objects - is that possible at runtime in php4 or php5 ?
I want to create and defined variables of an object in runtime , is that possible ? I can do that with arrays but I want the access it as variable from obbject it self and not like member of an array are defined on object before I load it ! -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend PHP Certification test
one of the Israel company say thanks . the another from an arabs country (UAE) make fun of my write . what an unbelievable thing . On Thu, 30 Sep 2004 09:34:11 +0400, M Saleh EG [EMAIL PROTECTED] wrote: God help arabs if they release books that easily ! n specialy from a person who failed in ZCE.. On Thu, 30 Sep 2004 04:03:22 +0300, Alawi Albaity [EMAIL PROTECTED] wrote: I purchase the guide before month and because I am outside US it will be inn my country after another month ( I actually bought it pdf version from phparch but because of the issue between Sams they cancel pdf version and sent the print on thier own charge for the shipment) , when I see Zend offer I take it directly but ofcourse I now must read from manual because the last day is 30th September , so I read hard , but of course not all the manual , but what I feel its important to read in the manual . I do not figure out that zend write the objective untill the last day , I take the self test and it make me feel better but the self test making you feel like if you get 3 from 5 you will success , I arrive at the center , do what it have to be done , and log in the room and I was very excited about exam when I get the test I found out its very simple and easy but because I read from manual I have confused in a lot of things in exam . Example 1 : they give 4 function and ask you to choose 2 , in all my life I was just one function and for first time now I hear there are another function which help you to calc the file size , so I choose random function . Example 2 : they give you some space to fill some text from your experience , I think I must write what they think its truth , inn example one of space I confuse what to write (object or class) because I do not get the situation of the code or thing they talk about , and think what if you write the spelling wrong but you get the idea. Example 3: they ask you about the possibility of validate user input if its for only unTrusted person or on the internet or also give you 2 choice, I think this thing is belong to me to decide on my work experience and not the opinion of the testers . at the final I feel and believe in my heart like I get 60 or 50 of exam at least correct but the I end I figure out my grade is FAILED . I have 3 years experience with php , I build a script of thousands of lines , but the really point that I do not read thing in manual untill I feel I must read and I need it, I make lot of scripts on php from 3 years , I do not work ever with streams , and i get what I need in regular expression by test and test and test for the code , if you want my advice read a lot about arrays and if the function will give you the new value or will do the process in the same array and which type of array the function must use and return and how much of arrays they can handle. I write a book in php in arabic of more than 100 and it was the first book for arabs, , I make scripts for writers , sellers , shops And now i figure out that I must read good and install manual in my brain to be success . but what the benefit of this when I read I figure out that there are a lot of thinngs usefel in php that I do not know about . and give me a keys for a new things in php that I was do not care about it in the past . I encourage the people have a good brain to save information to get the test , and encourage the people to complete thier road of development , your work is the strongest approve of your Exprience and your hardwork . the problem that youu will not be in the yellow pages in the Zend site . finally , thanks to the people who write the test they make it very good and very simple and easy , they was so fair , who got good knowldge will pass . -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- M.Saleh.E.G 97150-4779817 -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend PHP Certification test
do not make the story too complicated , its too simple . On Thu, 30 Sep 2004 23:59:25 +0400, M Saleh EG [EMAIL PROTECTED] wrote: Mr. Alawi I'm not making fun of you! yeah yeah tell me about it thats right and clear ! I'm saying wat's right! How can you right a book about a programming language while you're not qualified ?! oh yeah ? what the approve? the exam ? the exam is just beginning this months , I was certified before from skill drill , their exam was the hardest but its cheapest . and the thing what make you qualified is not the paper only its also your work and what you learn to the people is what they get. It's not about nationalities or religion. nor it's chemistry or physics it's PHP! oh really? I just know that ! who talk about nationalities or religion . I do not even know your really your nationality or religion we are in the middle of the list have different of people they from different nationalities and religions , so now we should care about the material of the talkers and what they must to be in their method of talking and respect . If you know what Islam is then you know what I'm talking about. The truth is supposed to be said ! do not insert islam now , I know islam but I totally do not know what you talk about . do not insert islam now , who suppose to tell the truth ? you ? who ask you ? and what the approves that make what you said is the truth ? who know you ? I mean how can you write a book if you are not even ready for an exam? book writing is simple than exam , why ? because it only need from you read , understand by example , practise , rewrite the concept of the thing in your language , and making the concept very simple . and plus as I know what PHP means in the arabs world... it's mainly downloading script and reframing it. do not you now generalize this thing on all Arabs world , yeah 90 % of Arabs think that php is just scripts to install , but there also 10% at least if its not more . who learn and study in IT and know what the meaning of php as a language and what they really can do with it . Don't you see these people who write books in english all PHDs and 10+ years experience in programming (not in PHP) I mean I know how it goes in the arab world, and I've seen the PHP groups n been to their meetings. I left all of them. They just know how to install scripts that's it ! again do not generalize that , I know a good people of Arabs working hard as groups they do a lot of useful things , please open php.net and read about PHP Tunisie Magazine and tell me that person who direct this is not from Arabs , please tell about working to translate the manual from English , tell me they only know to install php scripts , maybe you talk about the beginners status or maybe you was like that in the past . Basicaly it's just programming. That's it. its not just programming its programming and producting . Anyways I didnt mean to offend you in anyways. thank you very much . Wish you success. I wish that for you too . I can not go ahead any more about this dissction , its off with me in this list , if you wannt to talk more please between me and you in private , I afraid to be blocked in this list . Best Regards . -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Zend PHP Certification test
I purchase the guide before month and because I am outside US it will be inn my country after another month ( I actually bought it pdf version from phparch but because of the issue between Sams they cancel pdf version and sent the print on thier own charge for the shipment) , when I see Zend offer I take it directly but ofcourse I now must read from manual because the last day is 30th September , so I read hard , but of course not all the manual , but what I feel its important to read in the manual . I do not figure out that zend write the objective untill the last day , I take the self test and it make me feel better but the self test making you feel like if you get 3 from 5 you will success , I arrive at the center , do what it have to be done , and log in the room and I was very excited about exam when I get the test I found out its very simple and easy but because I read from manual I have confused in a lot of things in exam . Example 1 : they give 4 function and ask you to choose 2 , in all my life I was just one function and for first time now I hear there are another function which help you to calc the file size , so I choose random function . Example 2 : they give you some space to fill some text from your experience , I think I must write what they think its truth , inn example one of space I confuse what to write (object or class) because I do not get the situation of the code or thing they talk about , and think what if you write the spelling wrong but you get the idea. Example 3: they ask you about the possibility of validate user input if its for only unTrusted person or on the internet or also give you 2 choice, I think this thing is belong to me to decide on my work experience and not the opinion of the testers . at the final I feel and believe in my heart like I get 60 or 50 of exam at least correct but the I end I figure out my grade is FAILED . I have 3 years experience with php , I build a script of thousands of lines , but the really point that I do not read thing in manual untill I feel I must read and I need it, I make lot of scripts on php from 3 years , I do not work ever with streams , and i get what I need in regular expression by test and test and test for the code , if you want my advice read a lot about arrays and if the function will give you the new value or will do the process in the same array and which type of array the function must use and return and how much of arrays they can handle. I write a book in php in arabic of more than 100 and it was the first book for arabs, , I make scripts for writers , sellers , shops And now i figure out that I must read good and install manual in my brain to be success . but what the benefit of this when I read I figure out that there are a lot of thinngs usefel in php that I do not know about . and give me a keys for a new things in php that I was do not care about it in the past . I encourage the people have a good brain to save information to get the test , and encourage the people to complete thier road of development , your work is the strongest approve of your Exprience and your hardwork . the problem that youu will not be in the yellow pages in the Zend site . finally , thanks to the people who write the test they make it very good and very simple and easy , they was so fair , who got good knowldge will pass . -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] is that possible with Objects in php 4 or php5 ?
I have object A and object B that extended from object A and have it Own abilities and object C that extended from object A and have it Own abilities I want to use the abilities of object B on object C and abilities of object C on object B , but the problem that what found out is that I must merge this classes with the original class together so I can do all abilities . this is not work out with me if I have to merge big class , so is there any possibility to do that so I can win the abilities of this two classes together without merge ? -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Commercial Java Extention for php 5
Is there any commercial java extention for php 5 ?
[PHP] make an old extention work with php5
Is there any possibility to make an old exention that created for work with php 4 to work with php 5 if the extention is not yet converted to work with php 5 ? If yes then how ?
Re: [PHP] good PHP to PDF libary?
PDF Lib is very COOL , its give you ability to encrypt an existing pdf file its give you a powerful method to import pages from an existing pdf file and do some thing on it , its have only one problem very expensive price for full power . if they only split php version annd change the price for full power and make it less than $ 50 for full power it will be very fair . - Original Message - From: Chris Partridge [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 23, 2004 5:18 PM Subject: Re: [PHP] good PHP to PDF libary? I have used ros pdf class many times, it is very simple but very effective. Read over the doco's and see how powerful+simple it really is! Cheers, Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP5 Java Intgeration
how can I do that in php5 in windows ?
[PHP] What happen to JAVA support in PHP5
the setting is removed from php.ini , How can we integrate them in PHP5 ?
[PHP] PHP JAVA Error on linux
Java 2 SDK 1.4.2 PHP 4.3.3 linux fedora 1 the command is work fine from terminal but its not work fine from php give me this msg when I use exec system passthru : Error occurred during initialization of VM Could not reserve enough space for object heap
Re: [PHP] PHP JAVA Error on linux
I just edit php.ini and increase it to 200 its not work any suggestion does apache effect ? cuz its Usage memory limitid to 98M - Original Message - From: Alawi albaity [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 8:55 PM Subject: Re: [PHP] PHP JAVA Error on linux I try this its also not work ? ini_set(memory_limit,80M); echo 'pre'; // Outputs all the result of shellcommand ls, and returns // the last output line into $last_line. Stores the return value // of the shell command in $retval. $last_line = system('/usr/java/j2sdk1.4.2_05/bin/java -cp /home/hrrajco/public_html/test/lib/itext.jar com.lowagie.tools.encrypt_pdf /home/hrrajco/public_html/test/test.pdf /home/hrrajco/public_html/test/encrypted.pdf user master 128', $retval); // Printing additional info echo ' /pre hrLast line of the output: '.$last_line.' hrReturn value: '.$retval; ? - Original Message - From: raditha dissanayake [EMAIL PROTECTED] Cc: php-general [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 6:19 PM Subject: Re: [PHP] PHP JAVA Error on linux Alawi albaity wrote: Java 2 SDK 1.4.2 PHP 4.3.3 linux fedora 1 the command is work fine from terminal but its not work fine from php give me this msg when I use exec system passthru : Error occurred during initialization of VM Could not reserve enough space for object heap What exactly are you refering to? are you trying to use the PHP Java extension or are you trying to execute an 'external java program'? if it's the latter you will need to increase the memory limit (default would be 8MB - not enough to start the JVM). If it's the former http://www.raditha.com/php/java.php might help. -- Raditha Dissanayake. - http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP JAVA Error on linux
I also try by php cli is just work fine and tht by terminal but when I try from net its not work please give me a hand this command work fine from terminal php -f /home/hrrajco/public_html/test/test.php but from php file named test2.php is not work fine ? passthru(php -f /home/hrrajco/public_html/test/test.php); ? Please give me a hand - Original Message - From: Alawi albaity [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 10:04 PM Subject: Re: [PHP] PHP JAVA Error on linux I just edit php.ini and increase it to 200 its not work any suggestion does apache effect ? cuz its Usage memory limitid to 98M - Original Message - From: Alawi albaity [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 8:55 PM Subject: Re: [PHP] PHP JAVA Error on linux I try this its also not work ? ini_set(memory_limit,80M); echo 'pre'; // Outputs all the result of shellcommand ls, and returns // the last output line into $last_line. Stores the return value // of the shell command in $retval. $last_line = system('/usr/java/j2sdk1.4.2_05/bin/java -cp /home/hrrajco/public_html/test/lib/itext.jar com.lowagie.tools.encrypt_pdf /home/hrrajco/public_html/test/test.pdf /home/hrrajco/public_html/test/encrypted.pdf user master 128', $retval); // Printing additional info echo ' /pre hrLast line of the output: '.$last_line.' hrReturn value: '.$retval; ? - Original Message - From: raditha dissanayake [EMAIL PROTECTED] Cc: php-general [EMAIL PROTECTED] Sent: Wednesday, July 14, 2004 6:19 PM Subject: Re: [PHP] PHP JAVA Error on linux Alawi albaity wrote: Java 2 SDK 1.4.2 PHP 4.3.3 linux fedora 1 the command is work fine from terminal but its not work fine from php give me this msg when I use exec system passthru : Error occurred during initialization of VM Could not reserve enough space for object heap What exactly are you refering to? are you trying to use the PHP Java extension or are you trying to execute an 'external java program'? if it's the latter you will need to increase the memory limit (default would be 8MB - not enough to start the JVM). If it's the former http://www.raditha.com/php/java.php might help. -- Raditha Dissanayake. - http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] what wrong in this code ?
why the varible value(123) is not printed? ? function is_login(){ session_start(); if (session_is_registered(test) ){ return true; }//end if else{ return false; }//end else }// end is_login() function function make_login(){ session_start(); session_register('test'); $test = 123; } function Logout(){ session_destroy(); } if (is_login()){ Global $test; session_start(); echo $test; logout(); }else{ make_login(); ? a href=test.phptryagain/a ? } ?
[PHP] session is not work with IIS
session is not work with IIS I install php in : c:\php and IIS in c:\Inetpub
[PHP] what happen to comments in php documntation
I dont see any comments where is this useful comments go ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Create associative array from comments by preg
I have comments like that : !-- comname1 --! value1 !-- end comname1 --! !-- comname2 --! value2 !-- end comname2 --! Now : How can me get associative array like this $var[comname1] = value1; $var[comname2] = value2; can any body help me to do that ?
[PHP] Arrays Data
hi how can I remove duplicted values (Data) in my array ? __ Do You Yahoo!? Get email alerts NEW webcam video instant messaging with Yahoo! Messenger. http://im.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] How to do that with PHP
I have a table .. this table have 20 record.. I want to view this record in the 4 pages (5 record by page).. how can I do that !! __ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] how can i show my table 5 record by five record ?
how can i show my record to user to view it five record by fifve record by click link __ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] How can I Get Text as it Set
when a person write in a text area i want to get it string and format it as it set for example when he write --- how are all world i do not see you --- i want to store it as it set in my database i not want it to be how are all world i do not see you --- Thanks __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] I Want
i want to make a function that read my file line by line and word by word to find a certain word , if the function return this word it is return true , if not it return false . Thabks __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Class
I create a class in write it code in a file and give it a name (wwp.php) and make another file and name it index.php3 the my index.php3 code is - ? Include (wwp.php); $hotmail = new WWP; $hotmail-toppage(1231); $hotmail-bodyofpage(212,213) $hotmail-downpage(2132154); ? and my calss code is - ?php class wwp { Function toppage($title){ $title = PHPOnly; Echo' html dir=rtl head title'.$title.'/title /head'; } Function bodyofpage($color,$words){ $color= #CC; $words=PHP; Echo ' body bgcolor='. $color.' h1'.$words.'/h1 /body'; } Function downpage($copyright) { $copyright = PHPOnly; Echo 'centerh4'.$copyright .'/h4/center'; } } ? what wrong !! __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] How to ?
how can i to make my page as a browser for another pages i mean i want as a proxy how can i do that ? __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] How to ?
how can i to make my page as a browser for another pages i mean i want as a proxy how can i do that __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]