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)...
...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, php.ini.rpmsave*. I have tried to update them all with no results. BTW.. What is each of them for? Which is the...
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
...file is manditory for the site to run. Since there are many starter.php files inside /includes/ i have added a site abbreviation to each (example.. *es_starter.php*). Each sites starter.php file is pathed by way of an updated *include_path* in php.ini.
*A* is the main folded used on all...
...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 C:\apache2triad\htdocs\include\. The include_path will be looked in first when...
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...
...These are all files dependent on the shopping cart. (3) Manager Engine. This is the CMS for the site.
Before the seperation all files include() a *starter.php* file that initiates things like db connections, session control, and other various site dependent controls. My problem is now that i...
Hello all. I have a question that pertains to Apache Aliases. I have read multiple upon multiple info on this and I am still confused. Guru wisdom is much appreciated. My question is, what is the difference between these two was of aliasing? I have added both my local (WIN-XP) and remote (LAMP)...
Im trying to position a div on the screen but instead of positioning from 0,0, i want to position from the center of my screen. somethig like 50%,50%. i want to do an absolute position from the center of screen horz, and i cant figure it out.
i hope i explained it okay. thanks
i am using a pop up script that centers the new popup and makes it the size i want, and it works fine. here lies my question..
after the first popup is launched all is good. but when i try to open a new popup with new dementions the new pop up loads in the current popups page and does not...
thanks for the reply, fixed the problem by switching two lines of code, i was setting the value of the input field before actually setting the input field, below is my new script.
<form name="cart3form">
<script language="JavaScript" type="text/JavaScript">...
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.