Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 12th, 2003, 10:45 AM
Registered User
 
Join Date: Jun 2003
Location: Oshkosh, WI, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to tenikiwon Send a message via MSN to tenikiwon
Default File Download Begins.....why?

Kind of a weird situation I ran across.

When I call this function:
function test8() {
    echo ("begin with");
    echo $GLOBALS["glo1"];
    $GLOBALS["glo1"] = '8';
    return $GLOBALS["glo1"];
}


I get a file download box to pop up. So I decided to take out the first line. echo("begin with");saved the file, and then closed and reopened my browser. The function worked and I was happy. Trying to figure out why this happened I added the line back in and hit refreash. The screen displayed "begin with 8" or begin with 18 as my origninal value was 1. Puzzleing me further I continued this vicous cycle for a while and can't figure out why it's doing this.

Could someone shed some light on it?


-----------------
Andrew J. Nowicki
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File Download. rupen ASP.NET 1.x and 2.0 Application Design 4 February 23rd, 2008 08:43 AM
Download File Muhammad Zeeshan ASP.NET 2.0 Professional 0 October 24th, 2007 12:51 AM
Need help with matching multiple "begins-wth" dcheslow XSLT 3 January 18th, 2007 04:32 AM
Smaller download/single download file available jminatel BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 November 21st, 2005 11:10 AM
Bookpool.com Promotion begins today jbergman Wrox Book Feedback 0 August 1st, 2003 09:34 AM



All times are GMT -4. The time now is 10:08 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.