Re: [PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 10:08 PM, Daniel P. Brown wrote: On Wed, Dec 1, 2010 at 12:15, Nadim Attari wrote: where does receipt.php gets the $_GET data ? Isn't it from response.php where the $_POST data are being http_build_query()'ed ?? $param = http_build_query($_POST);<-

Re: [PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 09:15 PM, Daniel P. Brown wrote: On Wed, Dec 1, 2010 at 11:56, Nadim Attari wrote: My problem is not the redirection; but all I want is to get the data in $_POST Again: there is no $_POST data. Why does receipt.php work while response.php doesn't? THERE

[PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 08:56 PM, Nadim Attari wrote: On 12/01/2010 06:50 PM, Bundhoo M Nadim wrote: Hello, Can someone explain me what this piece of code basically does ? http://www.domaine.com/page.php?";; $param = http_build_query($_POST); print $param; exit(0); ?> Well, the code is redire

[PHP] Re: $_POST issues

2010-12-01 Thread Nadim Attari
T was never empty. So why var_dump($_POST) is returning just array(0) { } ??? nadim attari alienworkers.com Hello all, Perhaps I am not being able to explain you my problem correctly (sorry my poor English) Here is the tests i'm doing: http://www.yulounge.com/_sbm/servlet/send_transaction.

Re: [PHP] $_POST issues

2010-12-01 Thread Nadim Attari
On 12/01/2010 07:18 PM, Jay Blanchard wrote: [snip] If I just put only this piece of code: i get nothing. [/snip] Where are you putting this var_dump? That's the only code on the page. Otherwise, the other codes - header(), print, etc. are on the page. nadim -- PHP General Mailing L

Re: [PHP] Re: imagecopyresize

2010-04-06 Thread Nadim Attari
Hello Chris, Here's a link: http://pages.intnet.mu/nadim/php/image.upload.txt The code is minimal. Things I would like to add: - resize transparent gifs - resize animated gifs Time doesn't permit me, unfortunately :-( Regards, Nadim Attari - Auto-Deppe C. Hä

[PHP] Re: Regex

2006-08-22 Thread Nadim Attari
M. Sokolewicz wrote: Nadim Attari wrote: Hello, I have some text in a table... the text contains hyperlinks (but not html coded, i.e. plain "Some text...http://www.something.com";) When i retrieve these texts from the table, i want the hyperlinks to become clickable, i.e.

[PHP] Regex

2006-08-21 Thread Nadim Attari
something.com";>http://www.something.com" I know this sould be done using Regex, but i don't know regex. Any help (links, examples, etc) Thanks Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Need shopping cart for online updating

2006-03-15 Thread Nadim Attari
llo, I don't know what you are looking for. Have a look here http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/index.html Regards, Nadim Attari Alienworkers.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Search Engine

2005-11-08 Thread Nadim Attari
> Do you recommend any of the ones that are for sale? > > Thanks, > > -- > Leonard Burton, N9URK > [EMAIL PROTECTED] http://www.xapian.org/ Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to post a question?

2005-07-22 Thread Nadim Attari
> Posting a question on how to post a question. Here it goes: http://www.collectionscanada.ca/obj/h9/f1/284-v3.jpg Just put your hand on top of it and say "ABRACADABRA" Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Ok, why is this happening...

2005-07-20 Thread Nadim Attari
Hello, I've changed the codes. Please run this one to view the results. The notable change is: $calculatedGross = $originalNet * (1.000 + ($commissionPct * 0.010)); Regards, Nadim Attari Alienworkers.com '; echo ' Test Rounding Net Premium'; echo ''; flush(

[PHP] Re: url reload

2005-07-07 Thread Nadim Attari
n=1&anc=0&view=1 - Ok. Here it goes: http://www.php.net/manual/en/reserved.variables.php function myFunction($anchor = '') { $link = "$anchor"; return $link; } // the page calling the function $aLink = myFunction($_SERVER['PHP_SELF'] . 

Re: [PHP] PHP Magazine

2005-07-01 Thread Nadim Attari
be centered around that > theme from differing levels of complexity and scope. I am sure the > current crop of PHP magazines will migrate towards something more > coherent in structure as time goes on (and their circulations > increase), rather than feeling like a grab-bag of non-specifi

[PHP] PHP Magazine

2005-06-30 Thread Nadim Attari
Hello, Two PHP magazines available are: - php|arch (www.phparch.com) - phpMag (www.php-mag.net) Want to subscribe to one of these 2. Please help me decide by sending your comments on these 2 mags. Regards, Nadim Attari Alienworkers.com -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Image upload form

2005-06-15 Thread Nadim Attari
http://www.php-help.net/sources-php/image.upload.function.353.html Regards, Nadim Attari Alienworkers.com > Hi, After a disastrous first attempt (which uploaded images but only by > chance) it was suggested I rework the entire thing. This one seems to > check the file against getimag

[PHP] Re: unable to load php_gd2.dll

2005-06-15 Thread Nadim Attari
Try extension_dir = "./extensions" Nadim Attari Alienworkers.com > Okay I at loss. I have tried but i can seem to get the > php_gd2.dll to work properly. Any help this is what i have > done so far. > > I have in my php.ini file, > > ; Directory in which t

[PHP] Re: Javascript Calendar and PHP

2005-04-05 Thread Nadim Attari
> What Javascript calendar works good with PHP? > Thanks http://www.blueshoes.net/en/javascript/datepicker/ Regards, Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: upload image file to my server

2005-03-31 Thread Nadim Attari
you may use this function http://www.alienworkers.com/misc/uploadImage.htm Regards, Nadim Attari > Hello, hard people. > > I want to do this, I like to upload image file, > What can I do?. > > somebody help me.? > > best regards TOMAS -- PHP General Mailing List

[PHP] Re: asking comment

2005-03-30 Thread Nadim Attari
te myTable set imagename = 'id.ext' where id = 'id' You may use this script to do step 3 http://www.alienworkers.com/misc/uploadImage.htm Hope it helps... Nadim Attari, Alienworkers.com > Hello, > > I got a bit frustrated with image upload stuff with different image

[PHP] Re: multidimensional array sort

2005-03-14 Thread Nadim Attari
)) foreach ($marray as $row) $sortarr[$i][] = $row[$arg]; else $sortarr[$i] = $arg; $msortline .= "\$sortarr[".$i."],"; } $msortline .= "\$marray));"; eval($msortline); return $marray; } Regards, Nadim Attari -- PHP General Mailing List (http://w

[PHP] Re: Artificial Intelligence for PHP

2005-02-13 Thread Nadim Attari
Hello, These links might help: http://coding.mu/index.php/archives/category/php/ http://www.phparchitect.com/news/466 http://www.phppatterns.com/index.php/article/articleview/71/1/11/ Regards, Nadim "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED

[PHP] Re: data grids...

2004-09-08 Thread Nadim Attari
BlueShoes: PHP Framework and CMS http://www.blueshoes.org/en/javascript/ Regards, Nadim Attari Alienworkers.com "Blackwater Dev" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Does anyone have a nice clean way to provide data grids with php short >

[PHP] Re: File Transfer

2004-09-03 Thread Nadim Attari
This gonna help: http://www.php.net/ftp Regards, Nadim Attari "Syed Ghouse" <[EMAIL PROTECTED]> a ecrit dans le message de news:[EMAIL PROTECTED] Hi All i have to transfer files from one server to another server thru php program.will anybody tell me how to do it? Regards syed

[PHP] Re: Cannot load modules

2004-08-31 Thread Nadim Attari
Download the binary Package (zip file) where you gonna find these libraries mySQL: == Copy the "libmysql.dll" in your System32 folder. This is needed for php_mysql.dll to load. CURL [from the manual] Note to Win32 Users: In order to enable this module on a Windows environment, you must c

[PHP] Re: Location header does not work?

2004-08-03 Thread Nadim Attari
just suggesting... try this: if ($option == 'content' and $task == 'view' and $id == 159 and $Itemid == 162) { session_write_close(); header("Refresh:0; url=https://computing.eng.iastate.edu/mambo/index.php?option=content&task=vi ew&id=159&Itemid=162"); exit; } let us know whether it

[PHP] Re: PHP-5 book

2004-07-21 Thread Nadim Attari
Thanks you all for your recommendations !!! ~ nadim attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP-5 book

2004-07-21 Thread Nadim Attari
1. http://www.eyrolles.com/Informatique/Livre/9780672325618/livre-advanced-php-programming.php 2. http://www.eyrolles.com/Informatique/Livre/9782212113235/livre-php-5-avance.php two interesting books i found. Which one would you suggest ? thanks ~ nadim attari -- PHP General Mailing List

[PHP] PHP-5 book

2004-07-21 Thread Nadim Attari
Hello friends, Can someone advise me of a very good PHP-5 book. Most probably i'll buy it from eyrolles.com Thanks, ~ nadim attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: auto-submit

2004-06-28 Thread Nadim Attari
javascript !!! = document.aForm.submit(); == "Jim Rainville" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] Hi - I'm writing a multi-page php script that keeps track of state with a hidden variable in the html forms. It's all working well exc

[PHP] Re: Server Push

2004-06-22 Thread Nadim Attari
> I am just looking for some different techniques on how server push is > done on PHP: http://www.craftysyntax.com/CSLH/ Download, have a look at the codes and enjoy... ~ nadim attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session problem

2004-06-22 Thread Nadim Attari
> I have a problem with sessions. If someone closes their internet explorer > window without logging off the session remains open. When you try to go > back to the site IE hangs until I manually remove the sess_ files from > the /tmp directory. Any insights on this one?? > > VR/Tim http://

Re: [PHP] Save page

2004-05-11 Thread Nadim Attari
"Brandon Holtsclaw" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > try something like > > $handle = fopen ("http://www.pagetoget.com/thispage.html";, "rb"); > $contents = ""; > do { > $data = fread($handle, 1024); > if (strlen($data) == 0) { > break; > }

[PHP] Re: Moving a file

2004-04-19 Thread Nadim Attari
> Is there a build-in function to move files in php ? > or sholud i just open file A and copy it content to file B , then del file > A. > > Thanks for help. First http://www.php.net/copy to destination Then http://www.php.net/unlink source. -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Re: Images & PHP

2004-04-19 Thread Nadim Attari
> http://www.imagemagick.org/ -- Forgot to include this link... http://pecl.php.net/package/imagick -- > Hope this will help !!! > > Regards, > > Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Re: Images & PHP

2004-04-19 Thread Nadim Attari
http://www.imagemagick.org/ Hope this will help !!! Regards, Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Flash MX

2004-04-01 Thread Nadim Attari
Hello PHPeople, I have to send data to flash. Should i use the "urlencode()" or the "rawurlencode()" function to encode the data? Thx, Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Arrays & Keys?

2004-03-24 Thread Nadim Attari
> I'm doing the language thing. Is this what u r looking for ? http://www.php.net/manual/en/function.setlocale.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Java script prompt - help

2004-03-24 Thread Nadim Attari
>> I would like to have a yes \ no prompt displayed and depending on which button is pressed take the right course of action. http://www.devguru.com/Technologies/ecmascript/quickref/win_confirm.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

[PHP] Re: windows 2003 server configuration

2004-03-15 Thread Nadim Attari
http://dedntfaq.hostingsupport.com/iis6_php_install.txt regards, nadim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Credit Card validation

2004-03-02 Thread Nadim Attari
http://www.zend.com/codex.php?CID=22 Hope it helps... Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: display a hiddenfield

2004-02-20 Thread Nadim Attari
echo ""; echo " "; echo " "; echo ""; --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Simple PHP Encoder

2004-02-10 Thread Nadim Attari
http://turck-mmcache.sourceforge.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session management

2004-01-30 Thread Nadim Attari
Handling Session with PHP 4 http://www.zend.com/zend/tut/session.php (Feb 15, 2000) Session Authentication http://www.zend.com/zend/spotlight/sessionauth7may.php (May 15, 2001) Custom Session Handling http://www.zend.com/zend/spotlight/code-gallery-wade8.php (April 30, 2003)

[PHP] Re: Clone of Hotmail,yahoo

2003-08-14 Thread Nadim Attari
1 Category-2/a> 1 Category-3/a> // Hope it helps. // Regards, // // Mohammad Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Help with Mod mathematical function

2003-08-14 Thread Nadim Attari
> Data = (index Mod 16) http://www.php.net/manual/en/language.operators.arithmetic.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: checking how many records are returned?

2003-08-06 Thread Nadim Attari
> Is there a way to check how many records are returned from a query to the > database? Which database? MsSQL? mySQL? mSQL? PostgreSQL? ? If it's mySQL then try mysql_num_rows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Search in PhP

2003-07-30 Thread Nadim Attari
=> 'number_of_occurences') - sort the array, e.g. arsort($searchArray) - display the results foreach($searchArray as $fileName => $occurences) { if ($occurences == 0) break; // display as you wish echo "Found in $fileName $occu

[PHP] Re: Variable not passed twixt pages..

2003-07-18 Thread Nadim Attari
> ... ... ... > $query = "insert into email values ('" . $_REQUEST['mailaddress'] Use $_GET or $_POST, according to the method used... $_GET['mailaddress'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: numberformat

2003-07-15 Thread Nadim Attari
> Is there a way, to define an integer number e.g. 7, to be defined as 07? 07 = 7 But 09 != 9 (Well 9 isn't in the set but the '0' in front will make the number octal) 09 is an octal number Dunno what you gonna do with this formatting.. but think again ... Nadim Attari

Re: [PHP] Is it possible to test an uploaded file to check the type?

2003-07-14 Thread Nadim Attari
> So, check $_FILES['userfile']['type'] against a set of allowed file > types, and you're set... What about this: array getimagesize ( string filename [, array imageinfo]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: download php

2003-07-10 Thread Nadim Attari
> So is there any way? http://www.turcksoft.com/en/e_mmc.htm Hope it helps... Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: what's wrong with this?????

2003-07-09 Thread Nadim Attari
> $result = mysql_query('CREATE TABLE members (userid INT(25) NOT NULL > AUTO_INCREMENT, first_name VARCHAR(30) NOT NULL, last_name VARCHAR(50) NOT > NULL, email_address VARCHAR(255) NOT NULL, username VARCHAR(30) NOT NULL, > password VARCHAR(30) NOT NULL, activated ENUM('0','1') DEFAULT '0' NOT N

[PHP] Re: Having problems with an IF statement, just doesn't make sense

2003-07-08 Thread Nadim Attari
Paying attention to this line: > Also if I use !isset it returns true with a null value for $theme Well this is clear in the manual: isset() will return FALSE if testing a variable that has been set to NULL So !isset($a_Null) = !FALSE = TRUE >From PHP Manual = $var = 0; if (empty($va

[PHP] Re: Install PHP on windows using PHP installler

2003-06-26 Thread Nadim Attari
> Is it better to install PHP using the PHP installer or using the Zip file > version? Go for the PHP Installer. It's straight forward to install... Do download the Zip file also, in case u need any extensions (DLL) Nadim Attari http://www.alienworkers.com -- PHP General Mailing

[PHP] Re: problem with mktime

2003-06-26 Thread Nadim Attari
doesn't exist in octal !!!) 9 = digital number But mktime(0, 0, 0, 06, 30, 2002, 0) and mktime(0, 0, 0, 6, 30, 2002, 0) should produce the same result: 1025380800 1025380800 > Still $previous_issue_unixdate is emtpy. I dunno what to say... should work Hope it helps... Nadim Att

Re: [PHP] Re: Help please!

2003-06-26 Thread Nadim Attari
my own opinion:) - Yea for sure, the most important thing is to get your PHP problems solved here.. - Well I've been able to send from my news client (Outlook Express). This post was not mailed but "Reply to Group"ed Thx for the help... Nadim Attari http://www.alienworkers.com

[PHP] Re: Help please!

2003-06-25 Thread Nadim Attari
and special thanks goes to Edward Dudlik (Becoming Digital). Nadim Attari http://www.alienworkers.com

[PHP] Re: Month name

2003-06-25 Thread Nadim Attari
> How can I get the month name from a date? If you could post with an example > i'll be gratefull Two links to help you... http://www.php.net/manual/en/function.getdate.php http://www.php.net/manual/en/function.strtotime.php

[PHP] Re: Returning TWO variables from function

2003-06-24 Thread Nadim Attari
> Can someone let me know how to return TWO variables from a function Try http://www.php.net/manual/en/language.references.php

[PHP] Re: PHP Mysql Hit Counter

2003-06-24 Thread Nadim Attari
http://www.hotscripts.com/PHP/Scripts_and_Programs/index.html

[PHP] Fw: Help please!

2003-06-24 Thread Nadim Attari
Hi php-general, I have subscribed to news://news.php.net/php.general. But when I post something (i'm using Outlook Express), it seems that the post is sent; but in fact it isn't and so I don't find my post(s) on the newsgroup. Help please! Nadim Attari

[PHP] Help please!

2003-06-24 Thread Nadim Attari
Hi php-general-digest, I have subscribed to news://news.php.net/php.general. But when I post something (i'm using Outlook Express), it seems that the post is sent; but in fact it isn't and so I don't find my post(s) on the newsgroup. Help please! Nadim Attari