Search found 6 matches

by Beefy
Thu Aug 15, 2002 7:11 am
Forum: PHP - Code
Topic: this belongs in the non-existent java/php combo forums, =./
Replies: 4
Views: 1243

If the short tags are disabled, the PHP code wouldn't be interpreted.
In this case it depends on the browser, what you can see at the page.
by Beefy
Thu Aug 15, 2002 6:58 am
Forum: PHP - Code
Topic: error! why? please help!
Replies: 14
Views: 1850

isset() and empty() in a control structure like if sometimes (I don't know whne and why) cause this error.

The solution could be: make two if-clauses out of the one...perhaps it'll work.
by Beefy
Wed Aug 14, 2002 12:16 pm
Forum: PHP - Code
Topic: this belongs in the non-existent java/php combo forums, =./
Replies: 4
Views: 1243

Perhaps you should use <?php instead of <?, because this seems to be a problem which is related to a misinterpretation of the browser.
I've never tried it, but changing <? in <?php is good anyway, 'cause it is the official standard to type <?php.
by Beefy
Wed Aug 14, 2002 6:08 am
Forum: PHP - Code
Topic: two windows, sending data between....
Replies: 8
Views: 1231

9902468 wrote:I thought that

Code: Select all

<form action=somepage.php>
just loads somepage.php file to THIS window? (where the form tag is)
You're right.
I thought that would'nt matter. :D

Well, I'm sorry, but I don't know any JS.
by Beefy
Wed Aug 14, 2002 5:14 am
Forum: PHP - Code
Topic: two windows, sending data between....
Replies: 8
Views: 1231

You could reload the main window with http-meta-refresh periodically, but that won't really solve your problem. Another solution: The new window sends the information to the old window and closes itself... /* mainwindow.php */ if($go='ok') echo 'case 1'; else echo 'case 2 <input type="submit&qu...
by Beefy
Wed Aug 14, 2002 5:06 am
Forum: PHP - Code
Topic: Moving and Renaming Files
Replies: 3
Views: 750

At first you should check the file permissions with the fileperms/fileowner/...-functions. You can't write a file, if you haven't the permissions to do so. You can copy a file with the copy -function and you can rename a file with the rename -function (quite simple to remember ;) :)). You can delete...