Search found 6 matches

by wallstreet
Wed Jun 27, 2007 5:28 am
Forum: PHP - Code
Topic: Having Error: "Undefined index"
Replies: 5
Views: 801

Here is the entire photos-view.php page (Hebrew text translated to english): <? $view=$_GET["view"]; ?> <meta http-equiv="Content-Type" content="text/html; charset=windows-1255"> <body bgcolor=black background="../images/photos/boxbg.jpg"> <? if ($view=="...
by wallstreet
Tue Jun 26, 2007 2:58 pm
Forum: PHP - Code
Topic: Having Error: "Undefined index"
Replies: 5
Views: 801

Having Error: "Undefined index"

Hello, Only for some users there is the following error: PHP Notice: index: view in C:/Domains/bars-net.com/wwwroot/iframes/photos-view.php on line 4 Appears on this page: http://my-caricature.com/bars/photos.php (hebrew page) and some other pages. What is that error means and how can I solve it? Th...
by wallstreet
Thu May 31, 2007 8:30 am
Forum: PHP - Code
Topic: Cannot View Cookies
Replies: 7
Views: 778

I found out something weird: IE accepts my cookie only if it's time being set to 0 like that:

setcookie("name", "value", 0, "/");

I cannot put something like "time()+3600" - it's don't accepts it.
Does somebody know how can I solve that problem?[/b]
by wallstreet
Wed May 30, 2007 2:09 am
Forum: PHP - Code
Topic: Cannot View Cookies
Replies: 7
Views: 778

The data from the cookie won't be available until the next request. Thank you for your comments Altough the problem still happens. I tried the following things: - I divided the script into 2 pages - one sets the cookie and reads it - I checked the cookies in my browser and it's ok - I used print_r(...
by wallstreet
Tue May 29, 2007 8:18 am
Forum: PHP - Code
Topic: Cannot View Cookies
Replies: 7
Views: 778

Cannot View Cookies

Everah | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] Hi Ever...
by wallstreet
Tue May 29, 2007 8:10 am
Forum: PHP - Code
Topic: How to Attach the word document using PHP
Replies: 2
Views: 340

To Add a word file to your website just upload it like regular html file.
To send an e-mail and attach the word file, download http://phpmailer.sourceforge.net/ PHPmailer and read the readme.txt file to learn how to send e-mails with attachments (Including word documents).