Omgili - forum search, search forums  
  

Discussions about php

Displaying 1 - 10 out of 193,205 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I am trying to decide on the best way to store my applications configuration settings. There are so many options. The majority of applications I have seen have used a simple require and a PHP file that contains variables. There seem to be far more advanced...
Started by on , 11 posts by 11 people.  
Your best bet is ....
It is best to do any core configuration in PHP itself, but if you nowadays on the web.
The best thing you can do is the simplest thing that could possibly work (php variables) and wrap is testable and write unit tests.
Hello All, Is there a way to get user-defined php functions, variables, constants from a php file? Following functions are not the best way to do so because they get all decalred functions/vars/constants (with hundreds of php's built-in constants and ...
Started by on , 3 posts by 3 people.  
Http://www.php.net/manual/en/ref.tokenizer.php From an external script: <?php var_dump(token_get_all(file_get_contents('myscript.php'))); ?> call.
You probably want to try the PHP Tokenizer.
Here is a stripped down version of what I use to authenticate users, it works fine on my php v5.0.2/mysql 4.0.21 server, but fails on my php v5.1.6/mysql v5.0.45 server. In the code below, should I be aware of anything that might not be supported by the...
Started by on , 3 posts by 3 people.  
Look into using PHP MySQL escaping ..
Doesn't work, try putting the following snippet right after <?php : // Enable displaying errors like that.
Ask your Facebook Friends
Neither <?php system('/usr/bin/php file.php'); ?> I tried with -q, with !#/usr/bin/php etc... anyone can help?
Started by on , 13 posts by 11 people.  
It's probably the path to the PHP executable, the path to file.php: <?php system('/usr/bin/php -f file.php'); ?> What do you mean by "it doesn't work"? Did you files a.php && b.php (with all permissions....
Without any more info...
Xampp 1.7.2 ? how do i swap out PHP 5.3 for PHP 5.2 so i can use joomla 1.5
Started by on , 8 posts by 8 people.  
D:\Documents and Settings\box>....
You'll have to uninstall XAMPP 1.7.2 and install XAMPP 1.7.0, which contains PHP 5.2.8.
PHP 5.3 was added in version 1.7.2, so anything older would be good.
You can download older versions of XAMPP here.
Is PHP on it's own a good enough templating language, or should one use something like Smarty to write PHP templates in?
Started by on , 12 posts by 12 people.  
I work by the "conditionals and loops"....
Don't forget that PHP's original purpose was to be a templating language.
I'd to bite you.
Just look at most JSP templates (or template-less PHP code, for that matter).
On" in the template grows.
I am templatizing my php.ini using PHP. I have a script to set up a development environment by generating httpd.conf, apachectl, and php.ini from templates using a CLI PHP script. Unfortunately there are literal <? and <?php strings in php.ini (...
Started by on , 5 posts by 5 people.  
You are asking how you can embed interpreted <....
This: <?php echo "<?php"; ?> Will output: <?php A quick & simple solution would parsed, simply replace those unique markers back with the corresponding php tag.
PHP 5.2.8 is refusing to load php_pgsql.dll , with the following error: Warning: PHP Startup: Unable to load dynamic library 'D:\PHP\ext\php_pgsql.dll' - The specified module could not be found. in Unknown on line 0 The .dll exists in PHP/ext/. Has anyone...
Started by on , 5 posts by 5 people.  
The problem is with the related libraries used by php_....
Edit: or, the permissions on the file were set incorrectly .
Make sure your version is definitely the one compiled against PHP 5.2.8.
Version of PHP to the one I was running.
Hello All, PHP allows you to replace or even re-name PHP's built-in functions using functions such as override_function and rename_function . Can we override the PHP's language constructs like the ones below? echo eval ...etc
Started by on , 3 posts by 3 people.  
The only way I can think of would be to create a custom handler for PHP files (in apache constructs with functions of your own, before being passed to the real PHP handler..
PHP.
I'm creating a test server for a new client that has and older version of PHP that only uses the <? tags but the latest version of PHP is expecting <?php tags. I'm looking for the version I need to install so that I can run the old code without ...
Started by on , 5 posts by 5 people.  
To the ....
But I wouldn’t do that but just replace the short tags <? with the standard PHP tags <?php for portability.
You just need to enable short_open_tag to use that short version of the standard PHP tags <?php .
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
php array to csv file in php    php awk    kCFErrorDomainCFNetwork php    php warez    php macaddress    yyyymmdd php    php printscreen    trivia but in php    php messagebox    PHP script   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost