I have a time consuming PHP script.
While this is loading I want a DHTML, Javascript, FLASH bar to show the progress of the script.
When the script is finshed it will then show the conte...
Hi all,
i am working on a Password change script for my site. The below script works a treat all except for one thing. If a user enters an email address thats not in the database the script...
I need to hide the Image source address, to prevent it to show where it's stored.
There is no need to protect the image at all, but the source of the image is relevant, so I need to find a ...
I have a major problem that seems to have no solution.
I am receiving this warning "Warning: require_once(/includes/config.inc.php) [function.require-once]: failed to open stream No such fi...
I have two IP Camera from DLINK DCS 2121 and I want to see both both on one web page.
The camera requires http authentication. I was trying to authenticate using the attached code , but it ...
I've been trying to figure out a way to replace ALL instance of '&' in a string to its HTML entity to make page W3C compliant. But a problem arises. If the string already has an HTML entity, I...
Hi
How can I clear the POST data after processing them? So that when the users press the REFRESH button, the data isn't resend?
Ramses (x_terminat_or_3)
Hi,
I'm trying to find the cookie file for Firefox 3.x on my Vista Home Premium.
I looked here:
C:\Users\vkimura\AppData\Roaming\Mozilla\Firefox\Profiles\mz9wratd.default
There is a ...
Hi I'm trying to get something to work and the tech who works on the API is draggin his heals so can anyone here help?
a curl call results in these headers
HTTP/1.0 302 Found Date: Tue, ...
Hello,
I'm trying to POST a file using CURL in PHP.
I've managed to log in the the web site and move through the pages, it saves the cookies and deals with SSL, etc. All this works, but ...
I am trying to insert _SERVER date into a database. It is creating the visitors.html log page fine but I am getting the error "You have an error in your SQL syntax; check the manual that corre...
I got these messages when I view my PHP page...how to fix it?
Notice: Undefined index: from_day in C:\Web Server\foa_appsys\device\get_data.php on line 170
Notice: Undefined index: from_...
I've built a fully working Nagios network montoring machine but I broke it this morning.
Everything was working running the latest release (apt-get installed almost everything, synaptic th...
Is there a AJAX based solution or PHP based solution to check the filesize a user is trying to upload via a form.
If the filesize exceeds more than 2 MB we want to give a message to the user ...
I want to search a string for an occurrence of some string with wildcards. I think I need to be using regex, but I'm not particularly good at that format (Any suggestions on regex formatting ...
Besides the obvious:
if ($x >= 0) echo $x; else echo 0;
or
echo ($x >=0 ? $x : 0);
Is there a single or built in php statement that will convert a number that is negative to 0?
I have a form which displays the current time in a particular format:
<?php echo(date("d/m/Y g:i a",mktime()).""); ?>
The end user can change this if they wish although naurally the format ...
Hi all
I am using the code below to open a PDF file. How it works in Firefox, is that it comes up with a file save dialog box where I can either save it to disk, or open it up. When I open ...
I'd like to be able to output the contents of an XML file into my page in alphabetical order using SimpleXML.
I've a feeling I'll need to rewrite the page to pass the xml into an array then r...
I run a website which lists real estate for sale. On this site I've been using Yahoo Maps to run maps of properties for sale. However, increasingly Yahoo is not keeping up to date with newer r...
Hi there,
simple php question
I have this line
$current_folder = basename(dirname(__FILE__));
header("Location: http://www.mysite.com/$current_folder/");
Work ok for a folder that is ...
I need to have a simple form on a page that a user can enter a MAC Adress and have it 'translated' to the numbers the user would push on their telephone keypad to enter the number. Very simil...
Im using a paging class with php and mysql that I really like. it works great for me. But I/ would like to use this paging inside some of my ajax containers as well.
the problem is the cl...
I want $dump to be what is done by print_r($array).
I'm using PHP to call an application then do some processing based on the output file created by that application. I can get the PHP code to call the application, but it waits for the applicat...