0

I have a problem that is probably very easy to solve for someone who knows PHP, and I feel sick for 3 days. Namely, it is a Facebook application for the a photo contest, and when the user is uploading an image, the image uploading, but ejects the following error appears:

The url you supplied is invalid Warning: Cannot modify header information - headers already sent by (output started at /home/explorer/public_html/secure/foto/libs/upload/save.php:77) in /home/explorer/public_html/secure/foto/libs/upload/save.php on line 88

The URL you supplied is invalid:

Warning: Cannot modify header information - headers already sent by (output started at /home/explorer/public_html/secure/foto/libs/upload/save.php:77) in /home/explorer/public_html/secure/foto/libs/upload/save.php on line 88

Part of code: line 81-100
http://pastebin.com/MeSk4hXR

Please Help

2
Contributors
2
Replies
25
Views
4 Years
Discussion Span
Last Post by bojan123
1

put on your first line ob_start(); and on the last line ob_flush();

<?php

ob_start();

/**
*
*   Your code goes here
*
**/

ob_flush();

?>

Edited by Szabi Zsoldos

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.