Hello all,
I am rather unskilled with PHP and trying to make a form which does two things, first it collects data from the user and sends an email with that information to an address, and s...
$query = "SELECT COUNT(*) FROM grouplists WHERE grouplists.gid='$groupid'";
$result2 = mysql_query($query);
$groupcounter = mysql_fetch_array($result2);
This would return an array, i dont...
Hi, I have a php application with a mysql database backend. This application is used to view a technicians schedule. The app does the following:
1) I have a drop down from where I select a te...
Take name/string:
John Doe
Split into:
$first_name = "John";
$last_name = "Doe";
So, split where space character is.
I have tried to add a top menu module to a website here:
http://murraygrey.com.au/joomla
I have followed instructions given here:
http://www.rockettheme.com/option,com_smf/Itemid,190/to...
Hello how to make wget to use random proxy from list
if i have
$proxy[0] = "http://1.1.1.1:8080";
$proxy[1] = "http://2.2.2.2:8080";
$proxy[2] = "http://3.3.3.3:8080";
i need ph...
Client Side Error Display when Apachi 2.0 linlk to Microsoft-IIS/6.0 with nusoap Class its display
Response
HTTP/1.1 500 Internal Server Error
Connection: close
at the end it's also di...
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 ...
I am creating a reporting tool to track form submissions dropped to a database.
The query is sorted by product and then I want to have the functionality for the user input a start_date and...
take unix timestamp in $time and convert to this format.
Wed 08/28/08 3:45pm
Hi,
IâÃÂÃÂve got a PHP class called User which I am using across sessions by implementing the __sleep and __wakeup methods. The class itself is working fine, but IâÃÂÃÂve los...
I have a directory in the "./images/" folder. Let's call it "2006".
The directory contains a lot of thumbnail photos. The directory will be updated for more photos in the future.
Let's say...
Hello -
I have one site pulling in an iFrame from another site - we own both so I have access to all pages and can add script to any that will need it.
Essentially - it works like this:...
I have been able to use this out of the (xampp) box.
1. How can I tell which mechanism it's using for the MSSQL connection (MSSQL_CONNECT) - i.e. ODBC, PDO etc
2. How can I force it to use...
We have a server with a display errors directive off in php.ini and all the errors are shown on apache error file.
2 days ago i put ini_set('display_errors', E_ALL); in the code and we can...
Could anyone assist with a problem I am having with a User Registration form where I am trying to pull data from a multi-select drop down box and use PHP to save it to a mySQL database. All th...
I have the code (attached). My current hosting provider doesn't allow me to make outbound HTTPS connections. On the other hand, I have Web service that has only one HTTPS end point.
I creat...
I have an array that I have created using php. What I want to do is search inside the array, and create another array containing the index of any of the items that match my search. What I am...
Hi friends,
I want to create unique 16 digit alpha numeric keys for a value.
for example
$alphaNumeric = generateAlphaNumeric(51);
i need a result like this "ACADRT478965BNXY"
...
Hello,
I am trying to use PHP to pull records out of a MySQL db, store them in an array then display in column. Just stuck now, I was able to get php to connect and pull data out of the db...
Hi there,
I have a problem with php and postgresql. On my dev install I have some php scripts running that successfully make use of the php_pgsql.dll extension for PHP5.
I transferred ...
A timeout of the PHP session is detected with isset(a_session_variable), and then redirection with
header('Location: http://www.dommain');
exit();
But this is code is within an ...
If I have a text file which contains many characters, some of them are ascii characters but some of them are not. How can I distinguish them and count how many non-ascii characters there?
Hi, dear EE sitizens!
I will really happy if you show me the code for image perspective (or free) distortion.
It can be two functions:
1. Enter the angle for rotation (and only right si...
I have a form that saves information of a user. I want to display a warning message if the user try to click on a link or back button after they have modified any of the fields in the page. A...