Re: [PHP] IE6 not returning POST data from a textarea

2005-12-12 Thread Zareef Ahmed
n what exactly you are doing? print_r($_POST) should show the all values of the form including a textarea. What do you mean by "pasted in"? Zareef Ahmed > Works fine for Mozilla, etc. > > print_r($_POST) shows several and values just fine. > > Thanks > > --

Re: [PHP] detecting file size

2005-12-13 Thread Ahmed Saad
Ahmed basha :) On 12/12/05, Ahmed Abdel-Aliem <[EMAIL PROTECTED]> wrote: > i know i can detect the file size after being uploaded, but i do want > to detect the file after it is being uploaded to the server. You may want to read this code walkthrough http://blog.joshuaeichorn.com/a

Re: [PHP] 1 ip address go here all others go here

2005-12-13 Thread Zareef Ahmed
Hi Dave, You can look for the value of $_SERVER['REMOTE_ADDR'], and then you can serve users as per your preferences. Zareef Ahmed - Original Message - From: "Dave Carrera" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 13, 2005 11:06 AM Subject: [PHP

Re: [PHP] EXPORT DATA

2005-12-13 Thread Zareef Ahmed
- Original Message - From: "Aftab Alam" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 13, 2005 11:20 PM Subject: [PHP] EXPORT DATA > Hi all, > > How can i export excel data to PostgresSQL using PHP. > http//ww.phpclasses.org is good place to search. you

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Zareef Ahmed
recommendation, it is better to use isset function to check if variable has been set or not. Zareef Ahmed - Original Message - From: "Erik Johnson" <[EMAIL PROTECTED]> To: Sent: Saturday, December 17, 2005 11:05 PM Subject: [PHP] Someone please help me with this PHP sc

Re: [PHP] insert to DB

2005-12-18 Thread Zareef Ahmed
/mysql_ref.php Zareef Ahmed - Original Message - From: "Anasta" <[EMAIL PROTECTED]> To: Sent: Sunday, December 18, 2005 7:41 AM Subject: [PHP] insert to DB > It just wont insert new data into DB--any ideas as i have gone over and > over. > > > >

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Zareef Ahmed
GET['page'], it is true then it will assign the value of $_GET['page'] to $page variable, otherwise it will be set to null value. You are 14?? Welcome to the wonderfull world of PHP programming. Zareef Ahmed PHP Expert C

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Zareef Ahmed
sure of that further up the page). > $page = "one"; never happens (you already pulled that one out earlier). > $page = "two"; never happens (you already pulled that one out earlier). > Johnson, make a note of it. you can also read about "switch" statement.

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Zareef Ahmed
discussion lists, because some time you may get very bad (!) response from the group members if you are asking very easy or normal questions. Zareef Ahmed - Original Message - From: "Erik Johnson" <[EMAIL PROTECTED]> To: Sent: Sunday, December 18, 2005 10:59 AM Subject: R

Re: [PHP] Load from db into -list

2005-12-18 Thread Zareef Ahmed
Hi, Using AJAX or JSRS you can do this. See http://www.ashleyit.com/rs/main.htm Zareef Ahmed - Original Message - From: "Gustav Wiberg" <[EMAIL PROTECTED]> To: "PHP General" Sent: Sunday, December 18, 2005 2:28 PM Subject: [PHP] Load from db into -li

Re: [PHP] How to get a unixtime with micro/mille seconds

2005-12-19 Thread Zareef Ahmed
Hi, use microtime function. Zareef Ahmed - Original Message - From: "Mathijs" <[EMAIL PROTECTED]> To: Sent: Monday, December 19, 2005 5:58 AM Subject: [PHP] How to get a unixtime with micro/mille seconds > Hello, > > I Want to have a unique tim

Re: [PHP] AJAX Framework

2005-12-19 Thread Zareef Ahmed
Hi, You can try pear package HTML_AJAX http://pear.php.net/package/HTML_AJAX Zareef Ahmed - Original Message - From: "Erfan Shirazi" <[EMAIL PROTECTED]> To: ; "Niklas Palmqvist" <[EMAIL PROTECTED]> Sent: Monday, December 19, 2005 6:04 AM Subj

Re: [PHP] PHP is OK in IE but not in Netscape

2005-12-22 Thread Zareef Ahmed
- Original Message - From: "Nanu Kalmanovitz" <[EMAIL PROTECTED]> To: Sent: Thursday, December 22, 2005 4:22 AM Subject: [PHP] PHP is OK in IE but not in Netscape > Hi > > The http://www.kalmanovitz.co.il/hello.php file appears OK in M$-IE but > not in Netscape 7.0. Strange... Can you

Re: [PHP] PHP Frameworks

2005-12-23 Thread Zareef Ahmed
Hi, There are a lot of PHP frameworks like Mojavi, Phrame, php.MVC, phpwebtk, Horde. My choice is Mojavi. BTW Zend is also doing some great work on it. Zareef Ahmed - Original Message - From: "Shawn McKenzie" <[EMAIL PROTECTED]> To: Sent: Friday, December

Re: [PHP] SELECT?

2005-12-28 Thread Zareef Ahmed
STATEMENT where uniquefield like $row['uniquefield']"; mysql_query($newquery); } if you really need to fetch only one record at a time, you can use the LIMIT keyword in your SQL statement, and can create the script as needed. Zareef Ahmed - Original Message - From: "Chr

Re: [PHP] Reading body of page being recieved by another php page

2005-12-30 Thread Zareef Ahmed
Hi, How you are sending the data to that script? It must be availble in $_POST, $_GET, or $_REQUEST, depends how you are sending it. Zareef Ahmed - Original Message - From: "Jamie Kemp" <[EMAIL PROTECTED]> To: Sent: Friday, December 30, 2005 8:57 PM Subject: [PHP]

Re: [PHP] printing keys and values of array

2006-01-05 Thread Zareef Ahmed
read about "foreach" function. Zareef Ahmd - Original Message - From: "Ahmed Abdel-Aliem" <[EMAIL PROTECTED]> To: Sent: Thursday, January 05, 2006 7:58 PM Subject: [PHP] printing keys and values of array Hi i need some help with printing an array, i wo

Re: [PHP] Re: Re: HAPPY NEW YEAR!!

2006-01-06 Thread Zareef Ahmed
France is so late ? ;) zareef ahmed - Original Message - From: "Michelle Konzack" <[EMAIL PROTECTED]> To: Sent: Friday, January 06, 2006 1:37 PM Subject: [PHP] Re: Re: HAPPY NEW YEAR!! > A little bit late, but from France: > > Bonne Année! > > G

Re: [PHP] private, public, protected in 4.3.11

2006-01-12 Thread Zareef Ahmed
Hi Peter, Code you are using is for php version 5. That is one in only reason. You need to install PHP version 5 to run this code or just do it as simple $var type declaration. Zareef Ahmed - Original Message - From: "Peter Lauri" <[EMAIL PROTECTED]> To: Sent: T

Re: [PHP] FW: error de php!

2006-01-18 Thread Ahmed Saad
On 1/18/06, Miguel Guirao <[EMAIL PROTECTED]> wrote: > $this->$NumDias = $unixtime2 - $unixtime1; <--- This is the line 44 hmm wasn't it supposed to be $this->NumDias? (with no $ before the propery name) -ahmed

Re: [PHP] Image handling advice needed

2006-01-18 Thread Ahmed Saad
e it's viewed. > Any opinnions about this. Why not scaled them once and for all (first option)? are you going to need them in BIG size on the server or anything else? -ahmed

Re: [PHP] wrapping anchor tags around a URL

2006-01-25 Thread Ahmed Saad
On 1/23/06, Richard K Miller <[EMAIL PROTECTED]> wrote: > function link_the_links($s) { > return preg_replace('@(http://[^\s]+)@sm', '$1', $s); > } > I've got to somehow ignore the trailing period if it is present. if ($s[strlen($s)-1] == '.'){ $s = substr($s, 0, -1); } -ahmed

Re: [PHP] wrapping anchor tags around a URL

2006-01-25 Thread Ahmed Saad
On 1/25/06, Ahmed Saad <[EMAIL PROTECTED]> wrote: > On 1/23/06, Richard K Miller <[EMAIL PROTECTED]> wrote: > > > function link_the_links($s) { > > return preg_replace('@(http://[^\s]+)@sm', '$1', > > $s); > > } > if ($s[st

Re: [PHP] wrapping anchor tags around a URL

2006-01-25 Thread Ahmed Saad
On 1/25/06, Ahmed Saad <[EMAIL PROTECTED]> wrote: > On 1/25/06, Ahmed Saad <[EMAIL PROTECTED]> wrote: > > On 1/23/06, Richard K Miller <[EMAIL PROTECTED]> wrote: > > > > > function link_the_links($s) { > > > return preg_replace('@(htt

Re: [PHP] wrapping anchor tags around a URL

2006-01-26 Thread Ahmed Saad
On 1/26/06, Richard K Miller <[EMAIL PROTECTED]> wrote: > @(http://\S+)(?!\.)@ -- this still captures everything > @(http://\S+?)(?!\.)@-- this captures too little hmm maybe this would work? @http://.+(?=\.)@

Re: [PHP] PHP6 Roadmap

2006-02-02 Thread Zareef Ahmed
Hi, Please visit http://www.php.net/~derick/meeting-notes.html - Original Message - From: "Yannick Warnier" <[EMAIL PROTECTED]> To: "PHP General List" Sent: Wednesday, February 01, 2006 11:02 AM Subject: [PHP] PHP6 Roadmap > Hello, > > Is a roadmap for PHP6 already available some

[PHP] Reverse Engineering of Smarty

2006-02-04 Thread Zareef Ahmed
. Zareef Ahmed

Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Zareef Ahmed
Original Message - From: "Rory Browne" <[EMAIL PROTECTED]> To: "Zareef Ahmed" <[EMAIL PROTECTED]> Cc: Sent: Sunday, February 05, 2006 8:39 AM Subject: Re: [PHP] Reverse Engineering of Smarty If you don't have backups, then: 1: Why do you not

Re: [PHP] Reverse Engineering of Smarty

2006-02-05 Thread Zareef Ahmed
, Rightly I got good adjectives ;) Well I am using CVS for all of my projects and do regular backups. Above all filesystem restore is also available in most of such cases. Lets close this thread, we people really have many meaningful questions to answers. Zareef Ahmed - Original Message

[PHP] weird mail function problem

2005-02-21 Thread Ahmed Abdel-Aliem
$header .= "Reply-To: " . $HTTP_POST_VARS['email_address'] . " <" . $HTTP_POST_VARS['email_address'] . ">\n"; $header .= "X-Mailer: PHP/" . phpversion() . "\n";

[PHP] Wierd PHP Problem

2005-02-23 Thread Ahmed Abdel-Aliem
include 'header.html'; echo "You could not be logged in! Either the username and password do not match! Please try again!"; include 'login_form.html'; include 'footer.html'; } ?> -- Ahmed Abdel-Aliem Web Developer www.ApexScript.com 0101108551 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem calling function within a class

2005-03-18 Thread Ahmed Abdel-Aliem
ID, $Destination); $Message = $Company->Message; the error i get is "Error In Importing Records To The Database" which i defined as the error of mysql in the function. i checked everything and found that the problem happens because i can't retireve the values of $this->C

[PHP] Can't Delete File Using Unlink

2005-04-11 Thread Ahmed Abdel-Aliem
nstead of link ?? any help would be appreciated. thanks in advance -- Ahmed Abdel-Aliem Web Developer www.ApexScript.com 0101108551 registered Linux user number 382789 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Can't Delete File Using Unlink

2005-04-11 Thread Ahmed Abdel-Aliem
On Apr 11, 2005 8:28 PM, Ben Ramsey <[EMAIL PROTECTED]> wrote: > Ahmed Abdel-Aliem wrote: > > i have a problem with deleting files, i use windows XP and installed > > on it apache server & PHP 5.1 > > i use unlink($file) to delete files but it doesn't work whil

[PHP] Re: Can't Delete File Using Unlink

2005-04-11 Thread Ahmed Abdel-Aliem
On Apr 11, 2005 8:39 PM, Ben Ramsey <[EMAIL PROTECTED]> wrote: > Ahmed Abdel-Aliem wrote: > > On Apr 11, 2005 8:28 PM, Ben Ramsey <[EMAIL PROTECTED]> wrote: > > > >>Ahmed Abdel-Aliem wrote: > >> > >>>i have a problem with deleting files

[PHP] setting condition problem

2005-05-02 Thread Ahmed Abdel-Aliem
hi all i have a query that grabs records from the database, it works fine, but i have a problem with acondition i want to set for it the variable $Record[Relate] has 1 of 2 values, "self" or "share" what i wanna do is that when the variable has the value "share" it do check the records grabbed and

[PHP] SWF duration time

2005-05-21 Thread Ahmed Abdel-Aliem
hi, i have a question, is there a function to detect SWF files play duration ?? any help would be appreciated thanks, -- Ahmed Abdel-Aliem Web Developer www.ApexScript.com 0101108551 registered Linux user number 382789 -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Job Opportunities in Web Design company

2006-07-01 Thread Ahmed Abdel-Aliem
. HR Department http://www.safaristudio.net -- Ahmed Abdel-Aliem Web Developer www.SafariStudio.net +20101108551 registered Linux user number 382789

[PHP] Contact List Grabber

2006-03-05 Thread Ahmed Abdel-Aliem
Hi i would like to make a script to import contact list from msn, yahoo and gmail instant messenger. any ideas or tutorial on how to do that. any help will be appreciated thanks in advance -- Ahmed Abdel-Aliem Web Developer www.SafariStudio.net +20101108551 registered Linux user number 382789

[PHP] remove keys from array

2006-06-11 Thread Ahmed Abdel-Aliem
hi all when i have array in the form of : Array ( [0] => 2 [ID] => 2 [1] => asdasd [CategoryName] => asdasd ) ) how can i make it in the form of : Array ( [ID] => 2 [CategoryName] => asdasd ) ) can anyone help me with that plz ? -- Ahmed Abdel-Aliem Web Developer ww

[PHP] standard safe permissions for php scripts in web directory

2008-11-13 Thread Noor Ahmed Afridi
Sounds like a weird question though :( what should be standard safe php script/directory permissions under Apache. -- Regards, Noor Afridi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Display only one filed of the repeated records

2004-11-30 Thread Ahmed Abdel-Aliem
Hi, i have a tables in database which fields is id - title - category what i want to do is to display the categories entered in the categories fields, without repeating any of them for eample if the records is like follow ID Title Cattegory 1Matrix S

[PHP] Return value in Combo Box

2004-11-30 Thread Ahmed Abdel-Aliem
Hi, i have a form which user have to fill all the fields in it, when the form is submitted it goes to a validation page which checks if users entered all the required fields. what i want to do is to make the validation page redirect to the form again with the previuosly entered values, so the use

[PHP] record ID problem

2004-12-03 Thread Ahmed Abdel-Aliem
Hi, i have a script which reads and edit and delete records from a database table. the proplem is i nthe ID field. when i delete a row the sequence of numbers still the same, i need a function which return the IDs in the form of 1 2 3 4 5 6 7 8 9 instead of 1 3 7 9, can anyone help me plz ? --

[PHP] database query problem

2004-12-03 Thread Ahmed Abdel-Aliem
Hi, i have a page which views th content of tables, each row in one page, there is a combo box which shows the IDs of each row, and when user click on one, it redirects him to the same page with the new ID there is two problems. when there is no records in the dataabse i get mysql error. and when i

[PHP] html parser tutorial

2004-12-07 Thread Ahmed Abdel-Aliem
Doesn anyone plz knows a good tutorial for parsing html files ? i have a html page and i want to parse information from it to insert it into mysql. i have a good experience in php, but i didn't write a parser before. can anyone help plz ? -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] empty() problem

2004-12-12 Thread Ahmed Abdel-Aliem
Hi Group Members i have a problem with function empty() i use it to check if user entered the form fields and store it in array for example : if (empty($Game_rating)) $errors[] = "You didn't enter the Online Status for the Game."; the problem when the user enters 0 in the form field th

[PHP] record fetching error

2004-12-13 Thread Ahmed Abdel-Aliem
hi i have a table in my database which i try to fetch rows from it here is the code i am using @ $db = mysql_connect ($server, $user, $pass); mysql_select_db($database); $test_tr = mysql_query("select * from art WHERE Game_ID = '$Game_ID' desc LIMIT 1"); $record=mysql_fetch_array($test_tr); $ART

[PHP] php self problem

2004-12-13 Thread Ahmed Abdel-Aliem
form go to the same page with the passed fuseaction and Game_ID variables can anyone help ? Ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php self problem

2004-12-13 Thread Ahmed Abdel-Aliem
hi thanks, i used it but i have a new problem but i solved it so for people who will face the same problem u can do this $same_page = $PHP_SELF."?".$_SERVER['QUERY_STRING']; this will go to the same page with the variables passed too thanks for help Ahmed Abdelaliem On Mo

[PHP] divide the text

2004-12-14 Thread Ahmed Abdel-Aliem
hi, i have a page that views details of games from a database i get the text and screen shots from the database, i want to view 3 pictures among the text when i view it how i can view the 1st picture after 1/3 of the text and the next one after 2/3 of the text without affecting the text itself -

[PHP] Problem with array

2004-12-15 Thread Ahmed Abdel-Aliem
Hi i am retrieving records from database and putting each row in a array here is the code @ $db = mysql_connect ($server, $user, $pass); mysql_select_db($database); $query = "SELECT Game_ID FROM games WHERE Game_Category='$Game_Category'"; $result= mysql_query($query); $total_numbers = mysql_num_r

[PHP] header information problem

2004-12-18 Thread Ahmed Abdel-Aliem
include 'header.html'; echo "You could not be logged in! Either the username and password do not match! Please try again!"; include 'login_form.html'; include 'footer.html'; } } ?> Can anyone help me with that problem please ? -- Ahmed Abdel-Aliem www.ApexScript.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] first letter

2004-12-20 Thread Ahmed Abdel-Aliem
hi if i have for example this variable $name = "John"; how can i echo the first letter only so the result on the browser will be "J" can anyone help ? -- Ahmed Abdel-Aliem www.ApexScript.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] oscommerce

2005-01-04 Thread Ahmed Abdel-Aliem
add me to msn messenger with [EMAIL PROTECTED] or yahoo msn with ID me2resh thanks -- Ahmed Abdel-Aliem Web Developer www.ApexScript.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array problem

2005-01-21 Thread Ahmed Abdel-Aliem
x27;url'=>'www.me2resh.com', 'information'=>'me2resh website'), array('header'=>'lycos', 'url'=>'www.lycos.com', 'information'=>'lycos website'), array(header=>'me2resh', 'url'=>'www.me2resh.com', 'information'=>'me2resh website')); and then how can i sort them by the value of information for example can anyone help me please with this ? Ahmed Abdel-Aliem Web Developer www.ApexScript.com 0101108551 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] skip file_get_contents

2005-01-23 Thread Ahmed Abdel-Aliem
, $tag_name, $found_listings; if ($name == 'SITE') { $found_listings[] = $listing; $listing = null; } $tag_name = ''; return true; } echo "hi, i am xml data" xml_parser_free($xp); can anyone hel

[PHP] upload file problem

2005-07-09 Thread Ahmed Abdel-Aliem
and i find nothing uploaded and when i check the MySQL Table for the filed of the name of the picture i find this ef26fc32a2855a4edb6ef389b8b621af. it should be that random number followed by the extension, for example : ef26fc32a2855a4edb6ef389b8b621af.jpg but this deosn't happen and the file is not uploaded can anyone

[PHP] Ahmed Abdel-Aliem has invited you to try Google Talk.

2005-08-27 Thread Ahmed Abdel-Aliem
I've been using Google Talk and thought you might like to try it out. We can use it to call each other for free over the internet. Here's an invitation to download Google Talk. Give it a try! ------- Ahmed Abdel-Aliem h

[PHP] String format problem

2005-08-31 Thread Ahmed Abdel-Aliem
th, $Text ) ); echo $doc; //i need $Doc to look like this http://localhost/bank/admin/store/nodirectory/sub //but it outputs http://localhost/bank/admin/store odirectory/sub ?> can any one help me with that plz thanks in advance -- Ahmed Abdel-Aliem Web Developer www.SafariStudio.net +20101

[PHP] array merge problem

2005-09-01 Thread Ahmed Abdel-Aliem
[4] => 200.00 ) how can i merge the field without losing the original keys ? can anyone help me with that plz thanks in advance -- Ahmed Abdel-Aliem Web Developer www.SafariStudio.net +20101108551 registered Linux user number 382789 -- PHP General Mailing List (http://www.php.net/)

[PHP] detecting file size

2005-12-12 Thread Ahmed Abdel-Aliem
hi i am making a form to upload files to server i know i can detect the file size after being uploaded, but i do want to detect the file after it is being uploaded to the server. is there anyway i can do this ? any help would be appreciated, thanks in advance. -- Ahmed Abdel-Aliem Web Developer

[PHP] printing keys and values of array

2006-01-05 Thread Ahmed Abdel-Aliem
th:585mm ItemsPerCarton:1 CartonWeight:1.6kg EAN: BoxWeight: ItemHeight: ItemWidth: ItemDepth: can anyone tell me plz how to do that ? any help would be appreciated thanks in advance -- Ahmed Abdel-Aliem Web Developer www.SafariStudio.net +20101108551 registered Linux user number 382789 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    1   2   3