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.
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...
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...
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...
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...
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...
when this page loads i want the "name" input type field to automatically display the resuld of my cookie. if this page does not have a cookie set yet it shouldn't put anything in the field. when i use the script below, the cookies get set fine, and i can alert them when the page...
hello all, my problem is that i would like to set the value of a test field to the value of a variable i got from a cookie. when the page loads and there is no cookie value set i assume that the value should come in null. if there is a cookie value set, then i would liek the text feilds value to...
How do you pace cookies between pages on two different folders on a server? here's my code.
in folder_one is the file go1.htm -
<script language="JavaScript" type="text/JavaScript">
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name +...
hello all,
this is the important part of my script:
-----------------------------------------
function matrix(){
browserVersion = 'idf_loader.htm';
f = browserVersion;
document.write('<a href="javascript:launchCenter('+f+');">High</a>');
}
('+f+') only see's 'idf_loader'
not...
hello all,
this is the important part of my script:
-----------------------------------------
function matrix(){
var date = 4;
if(date == 4){
var f = 'idf_loader.htm';
var m = 'webcast';
document.write('<a href="javascript:launchCenter(f,m);"></a>');
}else{
bla bla
}
}...
hello all,
i have a page with a Windoes Media Player in it. when the "currentPosition" of the playhead hits a point a javascript command resets a few variable. then i have the page "reload()". but when the page reloads the Media Player also reloads to the begining. I cant...
Hello all,
Here’s the set up. Building for Netscape 6/7. One HTML page with Two <iframe>’s in it. One <iframe> (independent HTML pages) has a Real Video Player in it, the other has a SWF in it. Im trying to pass variables from the SWF to a separate JS page and back. In internet Explorer I...
i have a Windows Media Player <object> tag below that has <param> in it. i want to have the PARAM VALUE to accept a pre-set variable. it looks something like this-
<script language="JavaScript" type="text/JavaScript" >
<!--
var mediatype = "windowsmedia";
var...
i have a FOR loop that duplicates the same image across the screen. on each of these images i want an onClick event that sends a variable to a function that pertaines to the spacific image i've clicked.
my problem is that im trying to use the variable used in the FOR loop as my variablwe i...
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.