Search Results

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Daishi ; Forum: PHP and child forums
Forum: PHP Dec 5th, 2005
Replies: 3
Views: 1,470
Posted By Daishi
You sure can do that. Assuming that user.sh is in the same directory as the php page, just use the backtick operator:

<?php
`./user.sh`;
?>

If user.sh isn't in the same directory, try using...
Forum: PHP Nov 30th, 2005
Replies: 4
Views: 1,964
Posted By Daishi
There are more than likely server configurations that are preventing you from accessing the file in ~/functions/. This is primarily due to security issues.

Also, you probably should specify which...
Forum: PHP Nov 15th, 2005
Replies: 3
Views: 2,448
Posted By Daishi
By default, all variables used in functions are local variables, even if you use the same name of a global variable. You have to declare them global within the function. You can achieve this by...
Forum: PHP Nov 7th, 2005
Replies: 2
Views: 1,547
Posted By Daishi
The 'return' character is not a space, it is '\n'.

-Fredric
Forum: PHP Oct 30th, 2005
Replies: 4
Views: 3,401
Posted By Daishi
Like the error message makes perfectly clear, the variable is not defined anywhere before that call. Are you trying to send over the attachment's filename? Judging from your code, isn't that being...
Forum: PHP Oct 30th, 2005
Replies: 3
Views: 1,473
Posted By Daishi
In PHP, as with most object oriented languages, $this is a reference variable that allows access to members variables of the class $this is used in. For example:


class NumberClass {
var...
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC