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
>
> --
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
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
- 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
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
/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.
>
>
>
>
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
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.
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
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
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
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
- 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
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
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
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]
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
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
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
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
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
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
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
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
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://.+(?=\.)@
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
.
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
,
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
$header .= "Reply-To: " .
$HTTP_POST_VARS['email_address'] . " <" .
$HTTP_POST_VARS['email_address'] . ">\n";
$header .= "X-Mailer: PHP/" . phpversion() . "\n";
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
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
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
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
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
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
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
.
HR Department
http://www.safaristudio.net
--
Ahmed Abdel-Aliem
Web Developer
www.SafariStudio.net
+20101108551
registered Linux user number 382789
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
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
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
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
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
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 ?
--
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
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
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
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
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
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
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
-
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
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
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
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
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
, $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
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
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
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
[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/)
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
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
201 - 263 of 263 matches
Mail list logo