I need to connect to Vertical Response's web service with PHP5 and the built in SOAP client.
The problem is that GoDaddy requires HTTPS connections to go through a proxy and I don't know how...
I can use setcookie(), but I just fail to use getcookie()....so what is the function for getting a cookie?
I am trying to import a csv file into phpMyAdmin, but it doesn't seem to work. I'm not sure if I am just doing it incorrectly or what, but whever I try it I get the following error:
Invali...
Hi,
Im using this:
$allowed = "b|i|u|a";
$str = preg_replace ( "/<((?!\/?($allowed)\b)[^>]*>)/xis", "", $str );
$str = preg_replace ( "/<($allowed).*?>/i", "<\\1>", $str );
Howev...
I am a semi-newbie to PHP and MySQL.
I need to search a table to see if a certain record exists. I do not need to know the data in the record. I am trying to figure out if I need to colle...
hi all,
i have a dynamic form where i am trying to show images from a directory in the last column of my table.
My table is dynamic because it has as many records as there are images w...
I want that user will not be able to copy and paste the email address from email text box to email confirmation textbox in php.
How it can be done?
Ive got a select box that I get an array of items to fill it like:
Apples
Oranges
Peaches
Pears
What I want to do is when the user changes the select box to the appropriate fruit
it wi...
OK, maybe it's late, but this is just driving me bananas. I'm doing a simple logical operation which took in another program I wrote, but now it's just not seeming to work. I've simplified m...
Hi,
I use the following code to add an embedded image to an email message, but the image isn't included in the email....please help....
my code:
$mail = new PHPMailer();
$mail->AddEm...
Trying to read in TSV Unicode file and then insert the data into a MySQL database. This example is in Mandarin, but we'll be dealing with Turkish, Arabic, Japanese... the whole works. Reading...
I want to pass parameters to a page using a anchor and href. How do I pass and then read the parameters. Here's my code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "htt...
Dear all,
I'd like to have the text inside a cell to wrap so as not to go out of the cell border.
But it does not wrap.
So I tried t insert a line break with "\n" but it is not interp...
I'm trying to convert a Perl function to PHP, I get a Fatal error: Unsupported operand types on line that starts with $rank.
I think that is because $total is actually an array but not sure...
I'm just trying to echo the current session variables. Believe me Ive been reading and reading and still can get results. What am I missing?
session_start(); // Do I need to start a sessi...
Is there anyway to check if a number is a valid U.S. cellphone number?
it will be in this format:
0000000000 (10 digits, area code+number)
and the user will have selected their service ...
I need to strip any commas from any of the fields that are being put into the database, here's the example code that I found to strip the commas, but I'm not sure where to put it to make sure ...
I have a 3 pages to authenticate users against saved info in mysql databse, files are named:
form.htm
validate.php
verify_login.php
I'm able to deal with sessoin variables in validate.ph...
Hi,
I'm having trouble trying to merge two SimpleXML objects (user preference settings) in PHP. It should be simple enough - the objects have the same root element, and I simply want to me...
Hey,
I've been using PHP for a few years properly now and there's one thing that's bugged me for a while and I need somebody to give me a hand.
Now, let's say I have a link like this: pa...
Guys,
I googled the web all over, but nothing works. Here is my situation:
setting up website at first on my machine Winxp
php + apache
getting this
Warning: mail(): "sendmail_fro...
Hi All,
I have a few scripts whereby once a form is submitted (and info uploaded and stored in the db), it redirects to another page.
The problem is, that once I uploaded it to my client...
We run the MPee3 MP3 Search Engine at http://www.mpee3.com and we need a java or php code that we can add to our search result page so that when the user clicks a .mp3 link that it will force\...
Hi,
I like to know if there is a function or method anyone would know in PHP that converts epoch time to human readable time.
Thanks
How do you convert a password that has been put into md5 format back into regular text to allow for a safe login? I am trying to login to my site, but the password has been set to md5 format,...