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 357
Search took 0.02 seconds.
Search: Posts Made By: anshul
Forum: Apache Tomcat May 29th, 2008, 07:21 AM
Replies: 1
Views: 2,166
Posted By anshul
Tomcat6 service on Windows XP

Many times, I tried `service install` and installed Tomcat 6 service in Windows XP.

However in my notebook PC, its throwing error now (before, it was working before). I'm getting below error now....
Forum: Beginning PHP February 27th, 2006, 05:44 AM
Replies: 4
Views: 1,021
Posted By anshul
PHP has problem in line: <?xml version="1.0"...

PHP has problem in line: <?xml version="1.0" encoding="UTF-8"?>

I changed it to:
<?php echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; ?>

Actually tags of both PHP and XML are same.
...
Forum: PHP How-To February 25th, 2006, 02:32 AM
Replies: 6
Views: 1,058
Posted By anshul
Image is a file and we may use...

Image is a file and we may use filesize($filename).
It returns in bytes.

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
mediasworks.com project (http://www.mediasworks.com/)
Forum: Pro PHP February 21st, 2006, 09:31 AM
Replies: 2
Views: 1,133
Posted By anshul
Cache the script: ob_start() and ob_end_flush()...

Cache the script:
ob_start() and ob_end_flush()

Regards,





`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Forum: Beginning PHP February 21st, 2006, 07:54 AM
Replies: 4
Views: 1,021
Posted By anshul
PHP has nothing to do with X/HTML except that it...

PHP has nothing to do with X/HTML except that it can be output-ed by PHP. PHP files always've extension .php

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
mediasworks.com project (http://www.mediasworks.com/)
Forum: PHP How-To February 21st, 2006, 07:49 AM
Replies: 1
Views: 796
Posted By anshul
Please see PHP copy function: ...

Please see PHP copy function:


`~@#\^%&*/\.<.\/-|+|_!:;..=?>
mediasworks.com project (http://www.mediasworks.com/)
Forum: MySQL February 15th, 2006, 07:55 AM
Replies: 1
Views: 1,248
Posted By anshul
You're doing too much wrong ..:D:D Now use...

You're doing too much wrong ..:D:D

Now use the arrays as you like:
print_r($rs_email);

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
mediasworks.com project (http://www.mediasworks.com/)
Forum: MySQL February 15th, 2006, 07:43 AM
Replies: 1
Views: 1,717
Posted By anshul
You need correct MySQL selection for it: see...

You need correct MySQL selection for it: see LIMIT clause.

Also see, php paging script (http://www.mediasworks.com/scripts/paging_records_php_script.htm).

`~@#\^%&*/\.<.\/-|+|_!:;..=?>...
Forum: Beginning PHP February 9th, 2006, 04:59 AM
Replies: 1
Views: 1,202
Posted By anshul
Use switch() ..case statement to echo in betweeen...

Use switch() ..case statement to echo in betweeen html textarea tags. User need submit the form after checkboxes choices.

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
mediasworks.com project...
Forum: Pro PHP February 2nd, 2006, 03:31 AM
Replies: 3
Views: 1,789
Posted By anshul
$archive_dir="http://domain_name/images/booksimage...

$archive_dir="http://domain_name/images/booksimage/thumb";
is wrong.

Use PHP filesystem functions.

Upload is to your internal directories not to external ones like http://~path~

Hence...
Forum: Pro PHP February 1st, 2006, 05:57 AM
Replies: 1
Views: 853
Posted By anshul
How can I implement that? Any ideas? 1) Get...

How can I implement that? Any ideas?

1) Get the form POST data.
2) First insert that data into the database.
3) Then, mail() that data to the recipient.

Any questions? :)
...
Forum: PHP How-To February 1st, 2006, 05:51 AM
Replies: 1
Views: 12,304
Posted By anshul
May rename the file and then upload. You may...

May rename the file and then upload.

You may write PHP code to pass arguments to PHP function mail() and it will just do the rest job.

Or try to upload the file via file manager in CP.
...
Forum: MySQL January 21st, 2006, 07:21 AM
Replies: 2
Views: 1,950
Posted By anshul
For host argument, use IP of machine where MySQL...

For host argument, use IP of machine where MySQL is installed lieu localhost

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
A small donation and a link back to you
Students' finances...
Forum: Beginning PHP January 20th, 2006, 02:09 AM
Replies: 3
Views: 3,096
Posted By anshul
Is your PHP script having fopen() is in same...

Is your PHP script having fopen() is in same directory as Log-Tarrif.dat?

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
A small donation and a link back to you
Students' finances...
Forum: Beginning PHP January 20th, 2006, 02:06 AM
Replies: 1
Views: 904
Posted By anshul
chmod() is used to change permission of a file...

chmod() is used to change permission of a file generally to public read (0644) or public read not (0640). If file is writeable/editable, its permission need be 0666.

Uploading PHP files to Web...
Forum: Beginning PHP January 17th, 2006, 02:04 AM
Replies: 3
Views: 3,096
Posted By anshul
file can't be found by PHP. file name may be...

file can't be found by PHP.
file name may be wrong or file path may be wrong.

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
A small donation and a link back to you
Students' finances...
Forum: MySQL January 9th, 2006, 08:38 AM
Replies: 5
Views: 1,517
Posted By anshul
My suggestion is you put separate table for UK...

My suggestion is you put separate table for UK countries and towns. Try to avoid keys that are long.

'zipcode', 'passport number', 'election card number', 'cell number', 'email' can be good keys....
Forum: MySQL January 9th, 2006, 05:15 AM
Replies: 5
Views: 1,517
Posted By anshul
Searching 30000 records for matching an integer...

Searching 30000 records for matching an integer ID won't take 30 seconds. I hope it will take only a few seconds.

Time consumed in such search depends on how efficiently 'keys' are designed.
...
Forum: PHP How-To January 9th, 2006, 04:48 AM
Replies: 7
Views: 1,421
Posted By anshul
Hi, You could use any of many ready free...

Hi,

You could use any of many ready free scripts available from SourceForge or HotScripts. Or you may wait to learn and write the script.



`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Students' finances...
Forum: Beginning PHP January 7th, 2006, 06:09 AM
Replies: 2
Views: 7,319
Posted By anshul
For require and include problem, verify/set...

For require and include problem, verify/set correct include_path.

In header("location: index.php"), prefer to use absolute URI.

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Students' finances...
Forum: Beginning PHP January 6th, 2006, 03:37 PM
Replies: 3
Views: 1,039
Posted By anshul
Here...

Here (http://www.mediasworks.com/scripts/php_mailer_script.htm) is the detailed examples for beginners.

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Students' finances (http://scholarship.mediasworks.com/)
Forum: Beginning PHP January 6th, 2006, 07:01 AM
Replies: 8
Views: 1,630
Posted By anshul
top.html need be in same directory of what PHP...

top.html need be in same directory of what PHP script in whcih you included it.

If it is in other directory, there may be path problem.
use echo get_include_path(); to know include_path.
...
Forum: PHP How-To January 4th, 2006, 03:13 PM
Replies: 2
Views: 1,490
Posted By anshul
It shouldn't be; it is a static HTML file. How...

It shouldn't be; it is a static HTML file. How Apache knows it contain PHP code!

If you wanna parse HTML as PHP, you may add below line to '.htaccess' file directory wise:
AddType...
Forum: MySQL January 4th, 2006, 03:12 PM
Replies: 3
Views: 3,501
Posted By anshul
It is as simple as: INSERT into...

It is as simple as:
INSERT into table_name(field1, field2) VALUES('$var1', 'timestamp()')

Note that PHP has no function timestamp(). It is of MySQL.

Use phpMyAdmin to easy manage all these...
Forum: PHP Databases January 4th, 2006, 08:00 AM
Replies: 4
Views: 1,505
Posted By anshul
May be, user that is connected to MySQL database...

May be, user that is connected to MySQL database via PHP script may not have delete permission ..!

`~@#\^%&*/\.<.\/-|+|_!:;..=?>
Students' finances (http://scholarship.mediasworks.com/)
Showing results 1 to 25 of 357

 


All times are GMT -4. The time now is 06:30 AM.


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