User Profile

Collapse

Profile Sidebar

Collapse
bsprogs
bsprogs
Last Activity: Oct 14 '07, 06:19 PM
Joined: Jan 15 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I had this problem and it was a session header problem.
    If you have "session_start( );" at the top of the page where you're initiating the download, it keeps the session header in use thus not allowing any other header information to be sent/received from that session.

    If you remove session_start() ; from the top of the page, this should no longer be a problem....
    See more | Go to post

    Leave a comment:


  • I just realized there are a few spelling errors. I was typing too quick to get this message posted so please ignore them :)
    See more | Go to post

    Leave a comment:


  • New to Ajax - Returning Javascript and $_SESSION information. (Using PHP)

    I am currnetly programming a file hosting website in PHP and I am slowly integrating AJAX into the website.

    Here is my problem:

    The user uploads the file.
    The server processes the file and stores a $_SESSION['code'] variable.
    After the upload is complete, the server supplies a link that allows the user to view their link codes.
    Once they click the link, the page will return the information stored...
    See more | Go to post

  • That worked perfectly! Thank you. :)
    As I learn more of how the JavaScript functions work, I'll get the hang of it, haha....
    See more | Go to post

    Leave a comment:


  • bsprogs
    replied to How do i check the an image before uploading
    in PHP
    One thing I did with my uploader script was to upload the image to a defined hidden located on the server and submit the information on the file to a query table in my database.
    Then when I log in, the images will appear on my screen in order of their upload and I can verify them that way.

    So,

    File is uploaded
    File is placed in "uploads/queue/" folder.
    File Information is placed in my "queue"...
    See more | Go to post

    Leave a comment:


  • JavaScript code to get FileName from File Inputbox

    Alright, I'm very new to JavaScript but I'm fair with PHP.
    I'm working on an uploader script and what I'm trying to do is take the file name from the file input box.

    I looked at string manipulation in terms of using indexOf, substr, substring, etc... and I can't figure it out for the life of me!

    Here is what I'm trying to do:

    Example:
    I select the file:
    C:\Documents and Settings\BSPROG S\Desktop\DeVry \Previous...
    See more | Go to post
No activity results to display
Show More
Working...