I just moved an entire website to a new web server and on a particular php page I am geting the following:
Unable to find the socket transport "ssl" - did you forget to enable it when you c...
I am running Rhel5 and have PHP515 installed in /opt/sugarcrm/php.
I downloaded libmcrypt and mcrypt from sourceforge:
mcrypt-2.6.7.tar.tar
libmcrypt-2.5.8.tar.tar
I believe I have all...
Hello experts!
I'm trying to implement preg_match for email validation. According to wikipedia email addresses are defined by RFC 5322 and can contain the following characters in the local ...
Dear All,
I am using a PHP script to upload images to a server and insert the location and filename into a MySQL DB. However, I would like the files to be renamed if possible. Ideally the f...
Is there a free script that generates excel xls files?
I've tried psxlsgen, but its outdated, back to 2001. Couldnt' get it to work with newer versions of php.
XLS Generator is the only ...
Hello
In my php file
----------------------------
// company 1
<form method=post action="doform.php" onSubmit = varify (?,? )
<input type="checkbox" name="companyName[]" value='$comp...
I'm using PHP.
How do you strip the dollar sign (if there is one) from a string and turn it into a number that has 2 decimal places?
Thanks!
Hi,
I have this line in my PHP code that displays a decimal number, but sometimes there is like 10 decimal places. I need to shorten it to display only 2 decimal places.
For example, now...
I am looking for a paid or free currency converter that updates the rates regularly for my little shop. Any suggestion would be welcome but probably a php solution would be best.
I know this question has been answered before at least once here:
http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_20909827.html
but that didn't seem to help my problem. I am hosti...
Why does this link not call the function?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
function sendmai...
I use base-62 encoding quite a lot as it's URL safe and reasonably obfuscated, however, my current implementation is not very fast and I'm wondering if there's a better route, perhaps using an...
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...
Is there a way I can take a value of hex lets say 24 which is a dollar sign and convert that to ascii, so I could store the ascii value in a variable?
Thanks, jmsloan
Hello,
I have a client that needs the back button disabled. I'm using windows and IE, but want to accomodate as many browsers and OSs as possible. I'm currently using a JavaScript solution,...
I know that I can increase the memory_limit in my php.ini - have done this, but I still get this on occasion:
Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate...
I have an array
lets say for this example:
$chars[] = 'a';
$chars[] = 'b';
$chars[] = 'c';
$chars[] = 'd';
$chars[] = 'e';
$chars[] = 'f';
$ch...
Hi,
This is a question that is linked to an earlier query that I had. That question can be found here:
http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_21550010.html
I'm usin...
Hi,
I have a textarea box that a user can fill in. If this text box contains more than 100 characters (or whatever value I want) the user is told via an error message that the number of cha...
I want to create .pdf files from .doc. I would like to use any php library for it and I would like to avoid any command-line solution.
Hi, i was wondering if it is possible to make a messagebox in PHP? Of not, should i make it in JAVASCRIPT? I tried that, but then it won't work.
Anybody any suggestions or ideas?
Hi,
I found a script online that is supposed to send HTML emails with embedded images. I have a few problems with it though.
1. It sends the image as an attachment in Outlook 2003? I ...
Hello EE
i have a problem when try to upload a file with plugins for jquery "Ajax upload
"
http://valums.com/ajax-upload/
I make a test but in my folder on webserver there isn't file.
...
Hello.
I have written an app that makes use of $_SESSION superglobals to keep user id information intact from page to page within an admin console.
Everything works fine except that the ...
I'm using Lytebox http://www.dolem.com/lytebox/index.htm (Lytebox was written from the Lightbox class that Lokesh Dhakar (http://www.huddletogether.com) originally wrote. The purpose was to wr...