A:
There's a pretty obvious mistake:
\username\
You shouldn't embed the password in the filename. Remove the part.
Q:
"100" in php: 100 is an integer literal (between 0-255) not a decimal number
Sorry for this stupid question, but I couldn't find an answer.
I have a script to load images, but the php script can't load an image because of this error:
[15-Sep-2011 22:17:23] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/eCommerce/include/services.php:3) in /home/user/public_html/eCommerce/include/services.php on line 12
100 is an integer literal (between 0-255) not a decimal number in /home/user/public_html/eCommerce/include/services.php on line 12
I'm really stuck with this problem and don't know what to do...
This is a part of my code (I don't know if it can help):
$data = array(
'dest' => '../uploads/',
'title' => $title,
'caption' => $caption,
'alt' => $alt,
'size' => $size,
'align' => $align,
'wm' => $wm,
'custom' => $custom,
'ext' => $ext
);
$arr = array();
$arr['src'] = '/'.$f.'.jpg';
$arr['src2'] = '/'.$f.'.jpeg';
$arr['src3'] = '/'.$f.'.gif';
$arr['src4'] = '/'.$f.'.png';
$arr['src5'] = '/'.$f.'.bmp';
$arr['src6'] = '/'.$f.'.jpg';
$arr['src7'] = '/'.$f ac619d1d87
Related links:
Comments