User Profile

Collapse

Profile Sidebar

Collapse
bassamba
bassamba
Last Activity: Feb 19 '07, 12:14 PM
Joined: Sep 28 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bassamba
    replied to View PHP pages locally without installing
    in PHP
    hi

    you can download a local development bundle
    go to:
    http://www.firepages.c om.au/
    i use this one, i includes PHP/MYSQL/APACHE
    you don't need to configure anything

    don't know how to unistall it though :)


    -Bassam
    See more | Go to post

    Leave a comment:


  • bassamba
    replied to Testing php scripts against versions
    in PHP
    that is not the problem, i downloaded the files via ftp to check them, they are not empty.
    i guess that this is version compatiblity issue.
    how can you know what functions to use and what not?
    See more | Go to post

    Leave a comment:


  • bassamba
    started a topic Testing php scripts against versions
    in PHP

    Testing php scripts against versions

    hello all,
    i've been developing a website on my local phpdev.
    it uses PHP ver. 4.2.3. all works fine on my localhost.

    i uploaded the webiste on the hosting server, when i open the page in the browser i recieve a blank page. (even page source is empty).
    the server uses PHP ver. 4.3.4.

    how should what is the real cause of the problem? what should i look for.


    appreciate the help....
    See more | Go to post

  • bassamba
    replied to php+flash
    in PHP
    hi man, i've never used flash in my life but there is way, it called "flash remoting using php" go to

    www.amfphp.org/

    i think that this will solve your problem.

    in order to distinguish which button was pressed, you can pass a parameter to the php file via POST or GET

    good luck

    -bassam...
    See more | Go to post

    Leave a comment:


  • yes, that's what i meant


    thanks ronald...
    See more | Go to post

    Leave a comment:


  • hello, i'm having the same problem, my solution is this:
    When the user logs in, i set a boolean flag to 'yes' and update the timestamp in the DB to the login time.
    if the user properly logs out, this boolean will be set 'no'.

    Now, if a another person tries to login while the original user is logged in, the boolean will be validated and the login will fail.

    the problem is: how to handle browser close issue....
    See more | Go to post

    Leave a comment:


  • bassamba
    replied to save query result in a file and download it
    in PHP
    hello,
    you can do the following:

    for example, you can save the file as XML and download it:

    filename:[generate.php?id =username]:
    <?php
    header('Content-Disposition: attachment; filename="myfil e.xml"');
    header('Content-Type: text/xml');

    echo 'dummy text'.$_GET['id'];

    ?>

    and user will see a download pop-up screen with the file name...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...