Hello Fellow Programmers,
I have an issue with a very large PHP page that calls over 20 different MySql Statements. This page is loading somewhat slow and i want to speed things up. I have looked into sql caching applications like http://eaccelerator.net/ and http://www.danga.com/memcached/...
Hello,
I'm a novice, and am having issues get a JOIN to work properly. The following code is correct for pulling field values that HAVE a value, but when a field i am requesting has a value like Null, Space, or just empty, the whole query comes back empty.
It was suggested i use TRIM in my...
i have AMFPHP installed on php5. when pressing submit in the service browser, the returning screen is white. please advise on a solution.
this error happens on all services. when services are called from flash, it works properly. the issue is just with the service browser.
thank for the help.
OK i got schooled by some 15 year old kid named "Sliver". man i hope i have a job in a few years!!! This is what he had to say about exec() vs. CURL.
I have listed my working code below for any one interested. It basically takes an array (form elements) and passes them to another file on...
Hello all,
How to get the $response var to return with a value in it.
____________________________________
www.site1.com/test1.php
$post_array = array(
"test1" => "a"
,"test2" => "b"
,"test3" => "c"
);
// Convert Array to POST string (key_1=val_1&key_2=val_2...)
reset($post_array)...
I'm trying to set multiple include_paths in php.ini file. I cannot get my second include_path to work. I have this setting now,
;include_path = ".:/php/includes:/var/www/vhosts/includes"
My LAMP (PHP 5) server uses Plesk to manage domains. It has 3 .ini files, *php.ini, php.ini.saved_by_psa...
So i think i have found a working work-around for this. but i thinkit just that a work-around. If anyone can suggest a better method please let me know.
//File - /A/index.php or /B/index.php or /C/index.php
<?
include('whois.php');
include($GLOBALS['whois']."_starter.php");
?>
//File -...
the starter.php file initiates the session. it also trackes the session. without first calling the file session will not work. I have tried this method but if anyone wants to show an example i will look at it and review against my version. thanks
I will use a local linking stucture to illustrate my questions. You can read the forum titled "File Organization and Aliasing" for a larger picture of what im trying to accomplish.
I have three folders living in /htdocs/ A(main site), B(admin), & C(shopping cart). Inside each folder are files...
My resolution was as follows, i am using a local example. This examples updates the location of the include path in the php.ini file.
1. Add a new directory, C:\apache2triad\htdocs\includes\. (You may also use an existing *include_path*)
2. Update *include_path* in php.ini file to also accept...
I have just recently updated my server to PHP 5.1. I am getting a grip of errors in my logs now related to an object i use. This is just one of the error.
Undefined property: object::$core in /var/www/vhosts/site.com/httpdocs/index.php
It is referencing a script i use like -
// set object...
if i call an absolute path from /path/to/ManagerEngine/index.php to /path/to/site.com/starter.php then it will only work for one site, not all.
It was suggested to rename all my starter.php to site_starter.php and put them in the "include_path" defined in the php.ini file. If this works i will...
Hello all. I have been working on a Website/CMS (Engine) for a few years now. With every site i build, i just copy the current version of the Engine, make some minor changes and skin it to fit the perticular site i am building. This has worked well for a while. My problem is when i have to make...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.