[PHP] hello everybody

2012-03-18 Thread saeed ahmed
i am a full time warehouse worker and do not have time.i hardly can spend 2/3 hours a week on internet(at work we do not use internet but only computer)i am learning php and have xampp installed on my computer and i think i am learning slowly slowly.i want ot ask one favor to someone,who is capable

[PHP] free space

2012-01-31 Thread saeed ahmed
is there any free server where one can practice php(myadmin) - sql without installing on personal computer?

[PHP] array

2011-12-31 Thread saeed ahmed
how can you explain someone in a simplest and everyday use example of ARRAY. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] offline practice

2011-12-09 Thread saeed ahmed
i have learned a bit to work php-mysql but i want to practice to know more.at this moment i only can do primary works.creating users,inserting data,viewing very simple reports.i want to practice any sample php_mysql site offline.any help please. thanks

[PHP] php sqlite

2011-11-05 Thread saeed ahmed
i want to start with php sqlite.which light weight versions should i download?i have win xp sp3.

[PHP] starting php by asking basic questions

2011-10-16 Thread saeed ahmed
i want to learn php and i do not know much and my english is also limited.isthere anyone who can explain me php by most simple example,like explainig to a child,something like this:if you put "this" symbol or writing, in your php script,when someone open this page,will see this message"long time no

[PHP] CGI PHP vs. FastCGI vs. mod_php vs. application server?

2011-10-12 Thread saeed ahmed
also be compiled and loaded once - mod_php : same as FastCGI? - application server : the application is compiled and loaded once; the application can either have its own web server, or use a web server as front end, and only handle its own part Any tips much appreciated, thank you. -- Saeed Ahmed

Re: [PHP] Re: SEO Experts?

2010-10-07 Thread Zareef Ahmed
e, photos and so on. > > If you like, run through http://www.flowmarketing.co.uk and fill in the > form where you get stuck. It's obviously a work in progress :-) and I'll > complete the page that you end up at. > > By all means email me the website and I can be more specific. > > Good luck :-) > > Cheers > J > http://www.johnallsopp.co.uk > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Zareef Ahmed http://www.zareef.net

[PHP] which one is faster

2010-10-05 Thread saeed ahmed
$a = 'hey'; $b = 'done'; $c = $a.$b; $c = "$a$b"; which one is faster for echo $c.

[PHP] Encrypt and Decript email using PHP

2010-06-20 Thread saeed ahmed
hello friends, Is there a way to send an encrypted email from server-side PHP, and then decrypt it using an email client such as Outlook? regards saeed http://saeed05.wordpress.com

Re: [PHP] is

2010-06-11 Thread Ahmed Mohsen
d use preprocessing. Do it like so: Hey Daevid, does this form improve anything in processing time or it's just for the sake of readability? -- Kind regards, Ahmed Mohsen. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is

2010-06-11 Thread Ahmed Mohsen
ey have no content, you should use tags, otherwise use the full open and close tags around the content. CONTENT -- Kind regards, Ahmed Mohsen. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is

2010-06-10 Thread Ahmed Mohsen
On 6/11/2010 2:49 AM, Daniel Brown wrote: On Thu, Jun 10, 2010 at 19:35, David Harkness wrote: According to some PHP 6 will remove support for short tags. They won't be disabled by default--the feature simply won't exist. http://www.slideshare.net/thinkphp/php-53-and-php-6-a-look-ahead

[PHP] Re: Redirect to

2010-06-10 Thread Ahmed Mohsen
Thanks for help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] is

2010-06-10 Thread Ahmed Mohsen
I know that i should use the full open tag in php but i want to know if its good to use this tag instead of -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Redirect to

2010-06-10 Thread Ahmed Mohsen
nter (example.com) and it redirects to the public folder and shows only (example.com/index.php) in the URL. And for login.php should display (example.com/admin/login.php) not (example.com/public/admin/login.php) Kind regards, Ahmed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Re: Test [don't read]

2010-06-07 Thread Ahmed Mohsen
On 6/7/2010 9:15 PM, João Cândido de Souza Neto wrote: I couldn´t resist. "tedd" escreveu na mensagem news:p0624080cc832e662f...@[192.168.1.102]... -- --- http://sperling.com http://ancientstones.com http://earthstones.com me too ;) -- PHP General Mailing List (http://www.php.n

[PHP] image thumbnail from blob data

2010-06-06 Thread saeed ahmed
this with some HTML code then its not working. Ok I understand its not working because the header already sent by the browser. now suggest me what should I use there to retrieve the image from database? I have to mix the HTML code in my script. So is their any other way to do this without header? s

[PHP] dompdf class problem

2010-05-18 Thread saeed ahmed
I extremely sorry, if my topic isn't related with this group. I apologizes for this. I'm trying to add page number on the pdf. I have try the below code. but couldn't get the page number at the pdf. where I'm doing wrong. please suggest me. '; $html .=' $font = Font_Metrics

[PHP] special character problem

2010-04-27 Thread saeed ahmed
ts remove all special character including é, ã, õ, which I do not want to. I want to remove special character except these three. please suggest me... - Regards Saeed Ahmed http://saeed05.wordpress.com -

Re: [PHP] collect string from string

2010-04-22 Thread saeed ahmed
yes I have used preg_match_all and preg_match. now its working. thanks a lot guys - Regards Saeed Ahmed http://saeed05.wordpress.com - On Fri, Apr 23, 2010 at 4:40 AM, Ashley Sheridan wrote: > On Fri, 2010-04-23 at 02:38 +0600, saeed ahmed wrote: > > > this is

Re: [PHP] collect string from string

2010-04-22 Thread saeed ahmed
this is not working /^(\#.+)$/g I have tried the preg_match function - Regards Saeed Ahmed http://saeed05.wordpress.com - On Thu, Apr 22, 2010 at 11:39 PM, Ashley Sheridan wrote: > On Thu, 2010-04-22 at 23:41 +0600, saeed ahmed wrote: > > hello friend, > > I have a st

[PHP] collect string from string

2010-04-22 Thread saeed ahmed
ns. Synonyms * {{italbrac-colon|dried leaves of tea plant}} [[tea leaves]] * {{italbrac-colon|drink made by infusing parts of various other plants}} [[herb tea]], [[herbal tea]], [[infusion]], [[tisane]] Derived terms " now I want to collect only the string which are start with '#'. how can I do this? please suggest me. - Regards Saeed Ahmed http://saeed05.wordpress.com -

[PHP] wiki api help needed with php

2010-04-10 Thread saeed ahmed
guese section of wiktionary. which api will use for this? I need your useful suggestions please. - Regards Saeed Ahmed http://saeed05.wordpress.com -

[PHP] how to get the local time

2010-03-15 Thread saeed ahmed
hi friends, I'm trying to set local time in my php script. I was trying date and time function but its always show the server time not local time. i need help on this problem. how can i set the local time. i need sweden time zone - Regards Saeed Ahmed http://saeed05.wordpress.com -

[PHP] Got a packet bigger than 'max_allowed_packet' bytes

2010-02-01 Thread saeed ahmed
900KB then its show "Got a packet bigger than 'max_allowed_packet' bytes" . where I'm doing wrong? please help me out there... - Regards Saeed Ahmed http://saeed05.wordpress.com -

[PHP] Happy New Year

2009-12-31 Thread saeed ahmed
hi all my friends, Happy New Year... from BANGLADESH regards, saeed

Re: [PHP] Ckeckbox list populated from database

2009-09-20 Thread saeed ahmed
you can do that here is the example, > -- Regards, Saeed Ahmed Rajshahi, Bangladesh Blog: http://saeed05.wordpress.com -- Follow Me Linkedin <http://www.linkedin.com/in/sas05>Twitter<http://twitter.com/saeed05>

[PHP] how i assign a js variable to a php variable

2009-09-17 Thread saeed ahmed
hello guys, i'm new here in this list. guys i need a help. i can't assign a js variable value to a php variable. how can i do this? -- Regards, Saeed Ahmed Rajshahi, Bangladesh Blog: http://saeed05.wordpress.com -- Follow Me Linkedin <http://www.linkedin.com/in/sas05>Twitter<

Re: [PHP] Dual PHP installation and session sharing

2009-07-19 Thread Zareef Ahmed
ion. > > > Thanks in advance! > -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] PHP/mysql equivalent of PEAR's tableInfo()??

2009-07-12 Thread Zareef Ahmed
n line 53 > > Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result > resource in /home/meee/public_html/somedir/test.php on line 55 > > Warning: Invalid argument supplied for foreach() in > /home/meee/public_html/somedir/test.php on line 55 > > -- > I am looking forward to when I have enough of my bearings that I can just > cruise around all the various docs and figure out my own answers. Now > there are just so many unknowns, I often can't tell which way to even look > to solve the issues. > -G > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] HTTP headers and include()

2009-07-12 Thread Zareef Ahmed
On Sun, Jul 12, 2009 at 11:27 PM, James Colannino wrote: > Zareef Ahmed wrote: > > > You should get a "headers already sent output started at " kind of > error > > if you have enabled error reporting with display_errors ON. > > Actually, I did. I just d

Re: [PHP] HTTP headers and include()

2009-07-12 Thread Zareef Ahmed
s some application setups ) but I am wondering why you are not getting information about exact place where output is being started. You should get a "headers already sent output started at " kind of error if you have enabled error reporting with display_errors ON. > > James

Re: [PHP] MySql Injection advice

2009-07-12 Thread Zareef Ahmed
On Sun, Jul 12, 2009 at 8:42 PM, tedd wrote: > At 8:24 PM +0530 7/12/09, Zareef Ahmed wrote: > >> On Sun, Jul 12, 2009 at 6:32 PM, tedd <<mailto:tedd.sperl...@gmail.com> >> tedd.sperl...@gmail.com> wrote: >> >> Hi gang: >> >> I am top posti

Re: [PHP] MySql Injection advice

2009-07-12 Thread Zareef Ahmed
understanding of the actual problem may be wrong thus the suggestion in context) I am sorry if I offended anyone > > I would hate to review code with such lack of forethought and consideration > for others to read. > > tedd > > -- totally useless post follows: > >

Re: [PHP] A prepared statements question

2009-07-12 Thread Zareef Ahmed
quot;I am having problem" statement is not good enough. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] MySql Injection advice

2009-07-11 Thread Zareef Ahmed
t; > $new_fname = mysql_real_escape_string($new_fname); > > > $new_lname = mysql_real_escape_string($new_lname); > > > > > > > > > $result = mysql_query("SELECT * FROM phonedir WHERE fname = > '$new_fname' > > > && lname = &#x

Re: [PHP] MySql Injection advice

2009-07-11 Thread Zareef Ahmed
moved the slashes from any external source including databases... It was there to make the life of developer somewhat easier ()... magic quotes things are deprecated and completely will be removed in PHP 6 > > $new_fname = mysql_real_escape_string($new_fname); > $new_lname = mysql_real_escape_string($new_lname); > > > $result = mysql_query("SELECT * FROM phonedir WHERE fname = '$new_fname' && > lname = '$new_lname'"); > $num_rows = mysql_num_rows($result); > > if($num_rows > 0) > > { >echo $fname." ".$lname." already exists"; > } > > else >{ > > mysql_query("INSERT INTO phonedir > (fname, lname) VALUES('$new_fname','$new_lname')") > or die(mysql_error()); > > > > or > > > mysql_query("INSERT INTO phonedir > (fname, lname) > > VALUES('".mysql_real_escape_string($new_fname)."','".mysql_real_escape_string($new_lname)."')") > or die(mysql_error()); > > > -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc

2009-07-11 Thread Zareef Ahmed
ng as it works Sorry for TOP posting This mailing list also don't force us to be good :) Zareef Ahmed On Sun, Jul 12, 2009 at 4:50 AM, Eddie Drapkin wrote: > On Sat, Jul 11, 2009 at 5:37 PM, tedd wrote: > > At 3:34 AM +0700 7/12/09, Lenin wrote: > >> > >

Re: [PHP] I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc

2009-07-11 Thread Zareef Ahmed
On Sat, Jul 11, 2009 at 6:14 AM, Govinda wrote: > On Jul 10, 2009, at 6:34 PM, Zareef Ahmed wrote: > > heredoc was there to work with the strings... why you want to use >> functions into that? >> > > I'm lazy. Like to type less. ;-) It is well known fact th

Re: [PHP] PHP not running properly

2009-07-10 Thread Zareef Ahmed
w.php.net/unsub.php > > > > > > Your error handling is logging the errors, not displaying them to the > screen. Check the php ini file settings for that. > > -- > > Bastien > > Cat, the other other white meat > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] I am RTFM, but still stumbling on how to get built-in functions parsed in heredoc

2009-07-10 Thread Zareef Ahmed
; govinda.webdnat...@gmail.com > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Zareef Ahmed :: A PHP Developer in India ( Delhi ) Homepage :: http://www.zareef.net

Re: [PHP] HELP SQL INJECTION

2009-07-10 Thread Zareef Ahmed
of your case. Zareef Ahmed On Sat, Jul 11, 2009 at 3:50 AM, Daniel Brown wrote: > On Fri, Jul 10, 2009 at 18:11, Chris Payne > wrote: > > > > Sorry I post at the top because i'm legally blind and it's easier but > > i'll try to post at the bottom :-) >

[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

Re: [PHP] setcookie

2008-03-12 Thread Zareef Ahmed
As a dirty trick you can put following line on the top of your script, it will work ob_start(); But you should try to know why it is not working, and what exactly ob_start will impact your application and What is the thing called "Output Buffering". Zareef Ahmed On 3/12/08, Hiep Nguy

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Zareef Ahmed
eed these two computers to coordinate a little and > didn't want to use a server in between and so I was thinking of > establishing a direct connection between them.. If you have ruled out web server and ssh, then you can use ftp using PHP or use NFS mounting. Zareef Ahmed wrote

Re: [PHP] Re: Transferring files between computers using php

2008-03-06 Thread Zareef Ahmed
source. BUT remember, using rsync is always a better solution, and file_get_contents and file functions are resource hungry, specially they will consume more memory of your system. -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Zareef Ahmed http://www.zareef.net A PHP Developer in India

Re: [PHP] How to measure memory leakage/usage in PHP?

2008-03-05 Thread Zareef Ahmed
after certain number of lines or predefined life time of php script, any suggestion? Thanks and Regards Zareef Ahmed On 3/6/08, Chris <[EMAIL PROTECTED]> wrote: > > Zareef Ahmed wrote: > > Hi All, > > > >I am looking into the concepts behind memory manage

Re: [PHP] How to measure memory leakage/usage in PHP?

2008-03-05 Thread Zareef Ahmed
HI Chirs, On 3/6/08, Chris <[EMAIL PROTECTED]> wrote: > > Zareef Ahmed wrote: > > Hi Chris, > > > > Thanks for such quick response. > > > > quite good suggestion, but my application is using a framework and lots > > of includes and even aut

[PHP] How to measure memory leakage/usage in PHP?

2008-03-05 Thread Zareef Ahmed
? -- Zareef Ahmed http://www.zareef.net A PHP Developer in India

Re: [PHP] Calendar booking form in PHP/MySQL

2007-07-08 Thread Zareef Ahmed
other :) Zareef Ahmed On 7/3/07, Timothy Murphy <[EMAIL PROTECTED]> wrote: I'm looking for a PHP/MySQL "calendar booking form", which I am sure must have been done a million times. This will show a calendar on the web mirroring a MySQL table. Each entry in the MySQL table will sho

[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

Re: [PHP] detect user click "stop" button in browser

2006-06-23 Thread Ahmed Saad
On 23/06/06, Richard Lynch <[EMAIL PROTECTED]> wrote: On Thu, June 22, 2006 4:16 am, weetat wrote: An javascript thingie for "onStop" if it exists might help. window.onunload /ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] STRING TO ASCII CHARACTERS

2006-06-23 Thread Ahmed Saad
On 23/06/06, cajbecu <[EMAIL PROTECTED]> wrote: $data .= "&#".ord(substr($string,$i,1)).";"; and I think there's no need for substr.. just $data .= "&#".$string[$i].";"; /ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] xmldoc

2006-06-23 Thread Ahmed Saad
On 23/06/06, weetat <[EMAIL PROTECTED]> wrote: Anybody have any ideas what happening here ? Try this as the first line You can remove it later, of course, but it would enable displaying php errors as it's commonly disabled in production systems, AFAIK.. /ahmed -- PHP Gene

Re: [PHP] php calendar

2006-06-19 Thread Ahmed Saad
On 19/06/06, Ryan A <[EMAIL PROTECTED]> wrote: guess i am using special version of google... an iGoogle? ;) /ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] serving video files with php

2006-06-17 Thread Ahmed Saad
to a PHP script that does the logging first and then send an HTTP redirection to the actual video file (but actually users could bypass logging if they head directly for the video URL).. If you manipulate the video file on-the-fly, I think you might need to consider caching with the above solution ..

Re: [PHP] transfer file

2006-06-17 Thread Ahmed Saad
ported by PHP streams(?)) Security restrictions to keep away black hats might be enforced through HTTP authentication. /ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] file_exists() behind firewall

2006-06-17 Thread Ahmed Saad
let that prompts users for the necessary permissions, ?) if that's not the case (SSH, or even in a database.. ) /ahmed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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

Re: [PHP] PHP Standard style of writing your code

2006-04-25 Thread Ahmed Saad
itor: argument order, code completion and insight working with PHP 4 and 5 (unlike PHPEclipse), code templates, ... http://www.xored.com/trustudio Regards, Ahmed

Re: [PHP] list noise [WAS: How to find tag and get src of image]

2006-04-25 Thread Ahmed Saad
ject (where an answer could be found. Same applies to the PHP manual) b) Write a pointer to a How-to-ask-questions-the-smart-way-style document, gently pointing out what was wrong. RTFMs may be well deserved if the come back doing it again (which doesn't happen that often) Regards, Ahmed

Re: [PHP] strange php url

2006-04-24 Thread Ahmed Saad
On 4/21/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > redirects to: > http://www.example.com/index.php?action=edit&type=customer&id=1234&adminaccess=1 and you put admin access flags (read, determine roles) in URL parameters? -ahmed

[PHP] Re: interview

2006-04-13 Thread Ahmed Saad
PHP at home! It's highly flammable ;) /ahmed

Re: [PHP] CURLOPT_BINARYTRANSFER

2006-04-13 Thread Ahmed Saad
bug good luck /ahmed

[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

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

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

[PHP] Reverse Engineering of Smarty

2006-02-04 Thread Zareef Ahmed
. Zareef Ahmed

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

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] 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-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/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] 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] 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] 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] 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] 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

[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

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] 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] 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] 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] 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] 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] 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] 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] 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
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] 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
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] 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] 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] 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

[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

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] Moving code from a specific file to a generic one

2005-12-11 Thread Zareef Ahmed
Hi MARG, It will be better if you can provide the code here and what error you are getting. BTW header function is the key here. Zareef Ahmed - Original Message - From: "Miles Thompson" <[EMAIL PROTECTED]> To: Sent: Sunday, December 11, 2005 12:33 PM Subject: Re: [

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Zareef Ahmed
- Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Zareef Ahmed" <[EMAIL PROTECTED]> Cc: "Aaron Koning" <[EMAIL PROTECTED]>; "PHP-General" Sent: Saturday, December 10, 2005 11:40 AM Subject: Re: [PHP] simple-i

Re: [PHP] simple-ish question but something i never knew

2005-12-10 Thread Zareef Ahmed
- Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Zareef Ahmed" <[EMAIL PROTECTED]> Cc: "Aaron Koning" <[EMAIL PROTECTED]>; "PHP-General" Sent: Saturday, December 10, 2005 11:03 AM Subject: Re: [PHP] simple-i

  1   2   3   >