TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: smrtalex
Forum: Absolute Beginners 04-24-2009, 04:42 AM
Replies: 14
Views: 1,011
Posted By smrtalex
It has to be in my 'return' command. This...

It has to be in my 'return' command. This works:



Now I'm really lost. :-/ Anyone have any thoughts on the 'return' statement?
Forum: Absolute Beginners 04-24-2009, 04:24 AM
Replies: 14
Views: 1,011
Posted By smrtalex
Thanks! I think that might work if that is all...

Thanks! I think that might work if that is all that is running in the script. :(



The line:

works right before the 'return array' statment. I'm just not understanding why this line:

won't show...
Forum: Absolute Beginners 04-24-2009, 02:05 AM
Replies: 14
Views: 1,011
Posted By smrtalex
Wow. Thanks! I have tried allworknoplay's...

Wow. Thanks! I have tried allworknoplay's suggestion to no avail (meaning it is not returning any values). And I'm not quite sure where to put your code and how to change it to work with my...
Forum: Absolute Beginners 04-24-2009, 12:49 AM
Replies: 14
Views: 1,011
Posted By smrtalex
Please forgive me if I don't know how to utilize...

Please forgive me if I don't know how to utilize your code. Here is the code I am using:



Again, I know the values of:

$vb["customerFirstName"]
$vb["customerLastName"]
$vb["customerEmailAddress"]
Forum: Absolute Beginners 04-24-2009, 12:27 AM
Replies: 14
Views: 1,011
Posted By smrtalex
Nice, but I'm not sure that is telling what the...

Nice, but I'm not sure that is telling what the values are in the new array? Or am I misreading the code.

Remember, I am creating an array with:



I know the values are correct going in, and I...
Forum: Absolute Beginners 04-23-2009, 11:48 PM
Replies: 14
Views: 1,011
Posted By smrtalex
Prior to the return array statement, I am...

Prior to the return array statement, I am running:

echo $vb["firstname"];

on each of the variables and it is returning the correct values.

Is there a way to do that with the array after the return...
Forum: Absolute Beginners 04-23-2009, 10:54 PM
Replies: 14
Views: 1,011
Posted By smrtalex
Return array values

I have a script that creates an array that I want to validate. It creates the following array:

return array(
"first_name" => $vb["firstname"],
"last_name" => $vb["lastname"],
"email" =>...
Forum: Absolute Beginners 08-12-2008, 09:02 PM
Replies: 0
Views: 1,266
Posted By smrtalex
PHP and Zend

This is on a Centos 4.6 VPS with the following:

PHP 5.2.5 (cli) (built: Aug 3 2008 12:21:54)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
...
Showing results 1 to 8 of 8

 

All times are GMT. The time now is 06:03 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design