Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Snib
Forum: PHP How-To March 3rd, 2008, 12:58 AM
Replies: 1
Views: 872
Posted By Snib
Forgive me if I understand incorrectly, but...

Forgive me if I understand incorrectly, but basically you're trying to retrieve rows from a table that match a certain model number and suffix?

If this is correct, why are you conditionally...
Forum: PHP How-To March 3rd, 2008, 12:48 AM
Replies: 2
Views: 1,636
Posted By Snib
Hello, First off, seeing as your data is in...

Hello,

First off, seeing as your data is in a JavaScript array, this really isn't a PHP-related question; the DHTML forum would have probably been more appropriate...

Anyways, what I believe...
Forum: Beginning PHP April 1st, 2005, 11:32 PM
Replies: 2
Views: 880
Posted By Snib
Incorporate this into your code: ...

Incorporate this into your code:

$has_a_space = strpos($_POST['password'],' ') !== FALSE;
if($has_a_space)
echo 'Sorry, your password can\'t have a space!';

hth,

-Snib -...
Forum: Javascript How-To February 12th, 2005, 02:35 PM
Replies: 3
Views: 920
Posted By Snib
For point 2, perhaps you could put this in the...

For point 2, perhaps you could put this in the pop-up window's code:

window.onblur=function(){window.focus()}

hth,

-Snib - http://www.snibworks.com
Where will you be in 100 years?...
Forum: Flash (all versions) February 11th, 2005, 07:17 PM
Replies: 1
Views: 1,578
Posted By Snib
Try removing the space from the end of the URL. ...

Try removing the space from the end of the URL.

-Snib - http://www.snibworks.com
Where will you be in 100 years? (http://www.thekristo.com/flashform.html)
Forum: Forum and Wrox.com Feedback February 11th, 2005, 07:15 PM
Replies: 1
Views: 1,038
Posted By Snib
spam

http://p2p.wrox.com/topic.asp?TOPIC_ID=26435
http://p2p.wrox.com/topic.asp?TOPIC_ID=26497

hth,

-Snib - http://www.snibworks.com
Where will you be in 100 years?...
Forum: All Other Wrox Books February 11th, 2005, 07:13 PM
Replies: 1
Views: 2,600
Posted By Snib
Check support.apress.com -Snib -...

Check support.apress.com

-Snib - http://www.snibworks.com
Where will you be in 100 years? (http://www.thekristo.com/flashform.html)
Forum: Javascript How-To February 9th, 2005, 11:26 PM
Replies: 3
Views: 2,558
Posted By Snib
crmpicco, Sorry for the late reply, been...

crmpicco,

Sorry for the late reply, been away several days.

I don't know if there's a way, even with the user accepting a registry change. I would look at MSDN and Google to find out.

>> but...
Forum: Javascript February 9th, 2005, 11:18 PM
Replies: 2
Views: 2,207
Posted By Snib
Put your form elements into a form and refer to...

Put your form elements into a form and refer to the select element value by document.forms.YOUR_FORM_ID.item.options[document.forms.YOUR_FORM_ID.item.selectedIndex].value.

hth,

-Snib -...
Forum: PHP How-To February 9th, 2005, 11:07 PM
Replies: 3
Views: 1,767
Posted By Snib
Dreamweaver actually covers all of these...

Dreamweaver actually covers all of these languages (except perhaps Perl...?) the same as PHP. I usually use Dreamweaver for developing PHP, HTML, JavaScript, ASP, and occasionally JSP and others.
...
Forum: PHP How-To February 9th, 2005, 11:05 PM
Replies: 1
Views: 1,016
Posted By Snib
List the states like this: $states_abbr =...

List the states like this:

$states_abbr = array("AB","AL", etc...);
$states = array("Alabama","Alaska", etc...);
echo "<select attributes...>";

for($i=0;$i<count($states);$i++)
{
echo...
Forum: Wrox Book Feedback February 9th, 2005, 10:44 PM
Replies: 1
Views: 1,734
Posted By Snib
Apparently you did not look in the Download...

Apparently you did not look in the Download FAQ...

Check at http://support.apress.com

hth,

-Snib - http://www.snibworks.com
Where will you be in 100 years?...
Forum: Beginning PHP February 1st, 2005, 06:16 PM
Replies: 8
Views: 1,964
Posted By Snib
Have you declared the function Close()? ...

Have you declared the function Close()?

-Snib - http://www.snibworks.com
Where will you be in 100 years? (http://www.thekristo.com/flashform.html)
Forum: BOOK: Dreamweaver MX: PHP Web Development February 1st, 2005, 06:15 PM
Replies: 1
Views: 1,511
Posted By Snib
Is this it? ...

Is this it?

http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764543873,descCd-download_code.html

hth,

-Snib - http://www.snibworks.com
Where will you be in 100 years?...
Forum: HTML Code Clinic January 31st, 2005, 09:43 PM
Replies: 7
Views: 868
Posted By Snib
Here is a tutorial/reference page on using...

Here is a tutorial/reference page on using cookies in JavaScript (for MSIE, anyway):
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/cookie.asp

hth,

-Snib -...
Forum: Pro PHP January 31st, 2005, 09:33 PM
Replies: 5
Views: 3,136
Posted By Snib
Why exactly would you need to pass JavaScript...

Why exactly would you need to pass JavaScript functions to PHP? What are you trying to accomplish.

An equivalent to my code would be something like...

<script language="javascript"...
Forum: Beginning PHP January 31st, 2005, 09:31 PM
Replies: 8
Views: 1,964
Posted By Snib
Try <input type="button" value="Nope !"...

Try

<input type="button" value="Nope !" onclick='Close()'>

-Snib - http://www.snibworks.com
Where will you be in 100 years? (http://www.thekristo.com/flashform.html)
Forum: Beginning PHP January 31st, 2005, 09:29 PM
Replies: 10
Views: 2,247
Posted By Snib
$_REQUEST is made of three superglobals combined:...

$_REQUEST is made of three superglobals combined: $_GET, $_POST and $_FILES. There are sometimes times that you need to access a $_GET index that has the same index name as a $_POST index, so...
Forum: Javascript How-To January 29th, 2005, 02:01 PM
Replies: 3
Views: 2,558
Posted By Snib
This topic has been discussed many times before,...

This topic has been discussed many times before, on multiple forums including this one.

The general conclusion is that no, you cannot keep a user from refreshing the page.

You can hide the...
Forum: HTML Code Clinic January 29th, 2005, 01:58 PM
Replies: 7
Views: 868
Posted By Snib
So you wish to refresh the page only once, and as...

So you wish to refresh the page only once, and as soon as it loads? Doesn't make sense to me, but...

I suggest using cookies to determine if the page has already been visited/loaded, and if it...
Forum: Pro PHP January 29th, 2005, 01:56 PM
Replies: 5
Views: 3,136
Posted By Snib
Where are you getting the $username variable? ...

Where are you getting the $username variable?

Possibly, you're trying to retrieve it from another page using the POST or GET form method. I suggest you try this instead:

$_POST['username'];...
Forum: PHP How-To January 29th, 2005, 01:54 PM
Replies: 4
Views: 4,559
Posted By Snib
Hey there, This is a PHP forum. Perhaps you...

Hey there,

This is a PHP forum. Perhaps you should post this in the Java forum or the Linux forum for better results :-)

hth

-Snib - http://www.snibworks.com
Where will you be in 100 years?...
Forum: Beginning PHP January 29th, 2005, 01:52 PM
Replies: 10
Views: 2,247
Posted By Snib
Try $HTTP_POST_VARS then.. and follow Gotaka's...

Try $HTTP_POST_VARS then.. and follow Gotaka's suggestion, find out what PHP they have.

And might I recommend switching hosts [:p]

-Snib - http://www.snibworks.com
Where will you be in 100...
Forum: Javascript How-To January 26th, 2005, 03:15 PM
Replies: 2
Views: 1,354
Posted By Snib
If you can use a server language, this is...

If you can use a server language, this is possible.

Do you have access to a server language? (ASP, CGI, PHP, CF, JSP, etc.)

-Snib - http://www.snibworks.com
Where will you be in 100 years?...
Forum: Beginning PHP January 26th, 2005, 03:09 PM
Replies: 5
Views: 1,890
Posted By Snib
Depending on what you're doing, alter this code...

Depending on what you're doing, alter this code to your desire:


//right now, $image_url should be the URL to your image
//and $image_txt should be the corresponding text

echo "<img...
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 10:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.