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 26
Search took 0.01 seconds.
Search: Posts Made By: lanita
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 December 14th, 2004, 08:52 PM
Replies: 1
Views: 1,113
Posted By lanita
I'm not sure if I posted to right forum...

I'm not sure if I posted to right forum...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 December 14th, 2004, 08:48 PM
Replies: 1
Views: 1,113
Posted By lanita
sort array of strings error

Could you please let me know how I can solve the following problem with array sort.

After I sort and delete duplicates from array $keywords_main of strings I get following changes to array...
Forum: PHP How-To November 6th, 2004, 10:40 PM
Replies: 0
Views: 215
Posted By lanita
how to format a diplayed page for print

Hello,
Could you please give me an idea how to implement "view page for print" button which displays a page formatted for a print.

For example I have a script:

<form method="post"...
Forum: PHP How-To August 23rd, 2004, 11:11 PM
Replies: 6
Views: 960
Posted By lanita
Thank you, It works.

Thank you,
It works.
Forum: PHP How-To August 22nd, 2004, 01:07 AM
Replies: 6
Views: 960
Posted By lanita
OK, I did that: $words = explode('...

OK, I did that:
$words = explode(' ',$data['body']);
$bodies[] = array_slice($words,0,50) . " ...";

foreach($bodies as $body)
{
echo "<td>$body</td>";
}

The result printed on the screen...
Forum: PHP How-To August 20th, 2004, 10:40 PM
Replies: 6
Views: 960
Posted By lanita
Thank you, That works. Could you please tell me...

Thank you,
That works. Could you please tell me if I want body to be trimmed and I have a trim function trimbody($text), where should I put it : when I create array or while I output $bodies as...
Forum: PHP How-To August 19th, 2004, 03:03 PM
Replies: 6
Views: 960
Posted By lanita
displaying the query

Hello,
I'm wondering if there is a way to output query result in horizontal instead of vertical way.

For example,
Right now it displays:

Title | Author | Date | Body |...
Forum: PHP How-To August 2nd, 2004, 05:14 PM
Replies: 0
Views: 2,762
Posted By lanita
uploading audio and video files

Hello,
There is a problem with uploading .mov, .avi and .mp3 files.
I was able to upload different files with code from
http://p2p.wrox.com/topic.asp?TOPIC_ID=12104.

In order to upload...
Forum: PHP How-To July 26th, 2004, 08:05 PM
Replies: 1
Views: 2,219
Posted By lanita
error in <form action='{$_SERVER['PHP_SELF']}

Hello,
I'm confused how to send value of hidden field in form which post to itself.
I redirect from transact-article.php to upload.php with following info: redirect('upload.php?article=' ....
Forum: PHP How-To July 25th, 2004, 07:10 PM
Replies: 2
Views: 1,325
Posted By lanita
uploading different file types

Hello,
I was able to download images with code from
http://p2p.wrox.com/topic.asp?TOPIC_ID=12104.

Now, I tried to download other types of files like texts in .doc, pdf, txt, video in .mov and...
Forum: PHP How-To July 23rd, 2004, 03:06 PM
Replies: 4
Views: 1,119
Posted By lanita
Yes, it works as it highlights the address. ...

Yes, it works as it highlights the address.
But, there is a problem now when there is more that one link in the text field.
For example:

Input:
LIST OF SOURCES:
1....
Forum: PHP How-To July 23rd, 2004, 01:38 PM
Replies: 4
Views: 1,119
Posted By lanita
Thank you, It works.

Thank you,
It works.
Forum: PHP How-To July 22nd, 2004, 09:14 PM
Replies: 4
Views: 1,119
Posted By lanita
how to insert links

Hello,

I work on content management system where a user can post articles on the web. I have php4, mysql4 and IIS

The question is: how is it possible to let user not only insert plain text,...
Forum: PHP How-To July 22nd, 2004, 09:04 PM
Replies: 4
Views: 5,681
Posted By lanita
Thank you, It works now.

Thank you,
It works now.
Forum: PHP How-To July 22nd, 2004, 01:13 AM
Replies: 4
Views: 5,681
Posted By lanita
upload files - Undefined index: DOCUMENT_ROOT

Hello.
I have Windows 2000, PHP4 and IIS.

I tried to run the code from
http://p2p.wrox.com/topic.asp?TOPIC_ID=12104,
but line
if (move_uploaded_file($_FILES['userfile']['tmp_name'],...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 July 4th, 2004, 04:16 PM
Replies: 5
Views: 2,000
Posted By lanita
Could you please give me an example of java...

Could you please give me an example of java script to validate user's intention for deleting and article or if I want to check if the field "title" is typed (otherwise it migth save blank instead of...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 30th, 2004, 04:54 PM
Replies: 7
Views: 1,497
Posted By lanita
Thank you for reply, I use MYSQL 4.0.18. ...

Thank you for reply,
I use MYSQL 4.0.18.
About insert and search confusion: there were two separate quiestions in my first post. The one related to "Insert" statement is solved. The problem about...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 23rd, 2004, 01:52 AM
Replies: 7
Views: 1,497
Posted By lanita
Hello, I tried to 1.(for search in title)...

Hello,
I tried to
1.(for search in title) echo as sql : SELECT article_id FROM cms_articles WHERE MATCH (title,body) AGAINST ('qwe') ORDER BY MATCH (title,body) AGAINST ('qwe') DESC
Search...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 23rd, 2004, 01:37 AM
Replies: 5
Views: 2,000
Posted By lanita
CH12 p 404 delete prompt

Hello,
On page 404 CH12, it says that we don't need to ask for confirmation to delete the record because it was already handled with JavaScript promt before. Could you plese tell me where there is a...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 19th, 2004, 12:55 AM
Replies: 7
Views: 1,497
Posted By lanita
Chapter 12 “search” and “compose”

Hello,
I found the following errors (below) when testing Ch12 code. What are the ways to solve them?
Thank you,
**************************************************
1. On page Compose .php: When I...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 16th, 2004, 01:39 AM
Replies: 5
Views: 1,980
Posted By lanita
Hello, I found the problem why it didn't work:...

Hello,
I found the problem why it didn't work: I had a misconfigured firewall on my computer.
Thank you.
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 16th, 2004, 01:38 AM
Replies: 6
Views: 13,070
Posted By lanita
Hello Elizabeth, I found the problem why it...

Hello Elizabeth,
I found the problem why it didn't work: I had a misconfigured firewall on my computer.
Thank you.
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 15th, 2004, 11:42 PM
Replies: 3
Views: 2,220
Posted By lanita
MYISAM or InnoDB?

Hello,
I found in the book that in some php-sql files (when creating tables) there are different types as MyISAM or InnoDB or nothing specified. Could you please tell me when I should use which...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 15th, 2004, 11:08 PM
Replies: 6
Views: 13,070
Posted By lanita
Hello Elizabeth, Thank you for testing the...

Hello Elizabeth,
Thank you for testing the code for the book. I'm new to PHP and started to learn it from your book. However, the downloaded code for the application(Ch.12) doesn't work(I use PHP...
Forum: BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 June 3rd, 2004, 12:47 PM
Replies: 5
Views: 1,980
Posted By lanita
Thank you for the reply, Could you please give...

Thank you for the reply,
Could you please give me an example how to fix the code? There is a code for viewarticle.php (Ch.12) lines 6 and 8 gives error: 'article' not defined.

<?php...
Showing results 1 to 25 of 26

 




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