All of a sudden, the getimagesize() function stopped working in my php code. Maybe my isp did some upgrade or change to their php server.
I did some research and there is talk about the need to install GD Library in php.ini to get it working.
I don't have any clue how to install GD Libary...
The display code works fine when we did away with getimagesize().
Here's the code for display:
echo '<td width="16%" align="center"><A href="javascript: popItem(\'' . 'OpenItm.php?$c=' .$iCode . '\')" onmouseover="Tip(\'' . $adDesc . '\')" onmouseout="UnTip()"><img border="1" src="' . $tURL ...
I don't know why you said the code was flawed.
Help me understand please.
I have pined down the part that doesn't work properly was the getimagesize() function. When we replaced it with code to read the data from mySQL, the rest of the code works properly.
Yes, it is browser specific. But the part I don't understand was, it has been working for 2 years and all of sudden it doesn't anymore.
What changed?
So, I wrote the work around this morning. I uploaded the width and height of the pictures in mySQL. Modified the code to pick up the dimension...
I use getimagesize() to get the width and height of the image, then resize it so it display properly.
The code was working fine for two years in my website. All of a sudden, in IE, the image is only 1x1, so no one can see the picture. However, I was told, the picture displays properly in...
I do think this is the right forum to ask my question because it is regarding writing a webpage to take credit card information.
I had asked question as I needed to and had gotten good answers which I had put into my application. I do appreciate those who share their knowledge.
Thanks.
Alex
I'd like to add a feature to accept credit card in my website. I think I can write the part of taking user information and the credit card number.
I have seen most of them will use SSL encrypted security.
Can someone explain the concept and technicality on this subject?
Thanks.
Alex
Actually, my hosting is having problem with the getimagesize function when the jpg file is residing in another server (in this case at att.net).
If I copy the file into the host server, the function worked and returned the proper array.
The problem I have is, it is impractical for me to copy...
I put this in a php file and when I ran it it returned nothing.
What could be wrong?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"...
The value of $pic is "http://home.att.net/~DMK2/TriHead.jpg"
It is a valid url.
Back to the issue of array, using my code, how do you declare it.
I am a little confused by your example.
Thanks.
I have the following code but $ImageSize returns empty.
What am I doing wrong?
$result = mysql_query($qdf)
or die("<BR>Invalid query: $qdf <BR>" . mysql_error() . "".$result);
$row = mysql_fetch_array($result);
$pic = $row['PicURL'];
$ImageSize = getimagesize($pic);
echo...
I have a vb routine that involves calling a few Shell commands. The problem is they will open one after another just like they are open simultaneously.
I want them to open one after the previous one is completed.
What is the code to detect if the previous cmd.exe is still open?
Thanks.
dmk
I thought that it was self-activated when I put it in the initialize_handler sub.
How do I call it before receiving emails?
Or should I put "Set myOlApp = CreateObject("Outlook.Application")" within the myOlApp_NewMail sub?
dmk
In the Outlook vba help file, it said . . .
"This Microsoft Visual Basic/Visual Basic for Applications (VBA) example displays the Inbox folder when a new e-mail message arrives. The sample code must be placed in a class module, and the Initialize_handler routine must be called before the event...
It turned out, what vragsbond had suggested works beautifully for us. We adopted the code from
walterzorn.com and it works.
The alt and titlte browser property was kind of limited. The timeout was too fast and it only display a short number of characters.
The Sandeep's script had conflict...
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.