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);<-
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
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
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.
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
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ä
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.
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
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
> 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
> 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
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(
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'] .
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
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
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
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
> 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
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
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
)) 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
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
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
>
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
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
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
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
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
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
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
> 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
> 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://
"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;
> }
> 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
> 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
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
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
> 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
>> 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
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
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
echo "";
echo " ";
echo " ";
echo "";
---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://turck-mmcache.sourceforge.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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)
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
> 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
> 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
=> '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
>
...
...
...
> $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
> 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
> 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
> 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
> $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
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
> 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
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
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
and special thanks goes to Edward Dudlik (Becoming
Digital).
Nadim Attari
http://www.alienworkers.com
> 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
> Can someone let me know how to return TWO variables from a function
Try http://www.php.net/manual/en/language.references.php
http://www.hotscripts.com/PHP/Scripts_and_Programs/index.html
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
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
63 matches
Mail list logo