Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 56
Search took 0.01 seconds.
Search: Posts Made By: sdi126
Forum: Beginning PHP February 4th, 2009, 04:15 PM
Replies: 2
Views: 1,157
Posted By sdi126
Maybe it has to do with your parenthesis: ...

Maybe it has to do with your parenthesis:


if ($_POST['username']!="" &&
$_POST['password']!="" &&
$_POST['first_name']!="" &&
$_POST['last_name']!="" &&
$_POST['email']!="" )
Forum: Classic ASP Basics August 25th, 2008, 02:34 PM
Replies: 2
Views: 6,151
Posted By sdi126
You need to setup your local computer to be...

You need to setup your local computer to be running a web server. See this article for help in doing so:

http://support.microsoft.com/kb/323972

I am not sure you can run classic asp pages from...
Forum: Beginning PHP June 24th, 2008, 12:17 PM
Replies: 1
Views: 882
Posted By sdi126
Is this the whole file or is this file being...

Is this the whole file or is this file being included into another page?

free wifi | http://localwifisearch.com
web dev | http://mynameissteve.com
Forum: MySQL June 24th, 2008, 12:12 PM
Replies: 1
Views: 857
Posted By sdi126
Can you post the sql statement? free wifi |...

Can you post the sql statement?

free wifi | http://localwifisearch.com
web dev | http://mynameissteve.com
Forum: PHP How-To June 5th, 2008, 01:57 PM
Replies: 3
Views: 1,282
Posted By sdi126
Well that function is returning a string so just...

Well that function is returning a string so just check for how many occurences are there using substr_count.


free wifi | http://localwifisearch.com
web dev | http://mynameissteve.com
Forum: PHP How-To June 3rd, 2008, 05:07 PM
Replies: 1
Views: 1,416
Posted By sdi126
What you have should work? foreach ($dir as...

What you have should work?

foreach ($dir as $directory) {
\\here you want to echo out directory not dir
echo $directory .'<br />'
\\you can check if the file/directory exists
\\with the...
Forum: PHP How-To June 3rd, 2008, 05:00 PM
Replies: 3
Views: 1,282
Posted By sdi126
Depending on what you want to do? PHP has built...

Depending on what you want to do? PHP has built in functions for grabbing data from another page...one is file_get_contents()

free wifi | http://localwifisearch.com
web dev |...
Forum: PHP Databases April 18th, 2008, 11:37 AM
Replies: 1
Views: 12,106
Posted By sdi126
Its because the first time you load the page...

Its because the first time you load the page nothing has been posted so it doesn't know what username is. Also that isn't really an error that would stop the program...just a notice message (this...
Forum: Pro PHP March 25th, 2008, 11:10 AM
Replies: 1
Views: 999
Posted By sdi126
Not sure what line number this is...but when you...

Not sure what line number this is...but when you have the following html code you have a php curly brace in there.


</tr>
}

<tr>


should be
Forum: PHP How-To January 24th, 2008, 01:56 PM
Replies: 1
Views: 961
Posted By sdi126
You need to use the "new" keyword to create an...

You need to use the "new" keyword to create an object of the class like so:

$myclass = new ClsConnection();

http://mynameissteve.com
Forum: Classic ASP Basics January 24th, 2008, 01:48 PM
Replies: 1
Views: 4,942
Posted By sdi126
Server.URLEncode should work fine for your needs....

Server.URLEncode should work fine for your needs. Are you trying to encode the whole URL? If so that is your problem you just need to use the function on the values of the querystring your passing to...
Forum: SQL Server 2000 January 8th, 2008, 07:55 PM
Replies: 13
Views: 1,637
Posted By sdi126
How many records are in the tables? How many...

How many records are in the tables?
How many records are produced on your join?

Also you are using the between function (will it accept a range of dates...your example does not)...if it won't be...
Forum: PHP Databases January 8th, 2008, 07:48 PM
Replies: 2
Views: 1,461
Posted By sdi126
You can try checking for nothing with ...

You can try checking for nothing with

if(trim($variable) !=''){
//do title stuff
}


or check the number of rows returned

$query = mysql_query("select * from table");
Forum: Classic ASP Basics November 29th, 2007, 07:00 PM
Replies: 1
Views: 2,273
Posted By sdi126
What does your replace function code look like? ...

What does your replace function code look like?

http://mynameissteve.com
Forum: PHP How-To November 21st, 2007, 03:34 AM
Replies: 1
Views: 1,220
Posted By sdi126
Google Creating Cookies with P3P for some...

Google Creating Cookies with P3P for some solutions....its an issue within IE....you can either lower your security settings or add a special header which you can find by googling the above mentioned...
Forum: Classic ASP Databases November 21st, 2007, 03:22 AM
Replies: 1
Views: 1,117
Posted By sdi126
you would need to loop through your recordset and...

you would need to loop through your recordset and see what values are selected by some sort of if statement logic....when you find a match the property you need to set for the option tag is called...
Forum: ASP.NET 2.0 Basics November 9th, 2007, 07:08 PM
Replies: 5
Views: 1,222
Posted By sdi126
Validation controls and postback

Very new to asp.net and would like an explanation of how the following works.

Maybe this is just how .net works but I don't like it :)

I have a one field form that uses a validation control...
Forum: PHP How-To November 8th, 2007, 06:26 PM
Replies: 4
Views: 16,099
Posted By sdi126
rmdir will only remove the directory if no files...

rmdir will only remove the directory if no files exist in it. Let me know if you want the code to remove a directory (that contains files) and or subfolders within it.

http://mynameissteve.com
Forum: Beginning PHP November 2nd, 2007, 01:53 PM
Replies: 2
Views: 1,087
Posted By sdi126
What is your extenstion on this page (is it php...

What is your extenstion on this page (is it php or html)?
Can you provide a link to it?

http://mynameissteve.com
Forum: BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 November 2nd, 2007, 01:47 PM
Replies: 1
Views: 2,008
Posted By sdi126
Add on to your value property for each checkbox. ...

Add on to your value property for each checkbox.
Try adding the email as the first property and leave the link as the second and split them by a certain string such as ^^

As an example the first...
Forum: Pro PHP November 1st, 2007, 04:49 PM
Replies: 1
Views: 1,606
Posted By sdi126
Which variable is giving you that error ($recno)?...

Which variable is giving you that error ($recno)?

You need to make sure that there is a value in the $_POST array like so:

if(isset($_POST["recno"])){ $recno = $_POST["recno"]; } else { $recno...
Forum: PHP Databases October 24th, 2007, 06:36 PM
Replies: 3
Views: 1,325
Posted By sdi126
Your php.ini file controls the max upload. By...

Your php.ini file controls the max upload. By default it is set to 2mb.

You need to edit this variable in your php.ini file

upload_max_filesize


http://mynameissteve.com
Forum: PHP Databases October 24th, 2007, 06:34 PM
Replies: 1
Views: 1,540
Posted By sdi126
Your php.ini file controls the max upload. By...

Your php.ini file controls the max upload. By default it is set to 2mb.

You need to edit this variable in your php.ini file

upload_max_filesize

http://mynameissteve.com
Forum: SQL Language October 24th, 2007, 06:31 PM
Replies: 1
Views: 803
Posted By sdi126
Try it without using the set command... Set...

Try it without using the set command...

Set rec_exe=data_conn.execute(query_sql)
to
data_conn.execute(query_sql)

http://mynameissteve.com
Forum: ASP.NET 2.0 Basics October 23rd, 2007, 12:51 AM
Replies: 2
Views: 643
Posted By sdi126
This is a pretty broad question....one way to do...

This is a pretty broad question....one way to do it is by windows security. You can create a new windows user account (or a new group) and give the users you want to have access to the web service...
Showing results 1 to 25 of 56

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.