Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Search:

Type: Posts; User: visualAd

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,514

    As far as the PHP Interpreter is concerned an IF...

    As far as the PHP Interpreter is concerned an IF statement is a test and a GOTO. In processing terms GOTOs are super fast as these instructions are linear. The other option would be to move some of...
  2. Replies
    8
    Views
    3,180

    The attacker has exploited a remote file...

    The attacker has exploited a remote file inclusion vulnerability introduced into your application via a lack of validation on the page variable. These errors are quite common among novices or those...
  3. Replies
    2
    Views
    1,179

    Most web servers now support built-in GZIP...

    Most web servers now support built-in GZIP compression and the compression ratios do tend to be higher than ZIP because it does not include an archive facility. You can see a a tabulated comparison...
  4. Replies
    2
    Views
    1,432

    You cannot set the reply-to header in the mail...

    You cannot set the reply-to header in the mail function You can however change it by modifying the sendmail_from directive in the php.ini or calling ini_set with your desired email address just prior...
  5. Replies
    9
    Views
    1,275

    One of the methods I use is to use...

    One of the methods I use is to use session_regenerate_id() with every request. This sends a new cookie with a new session ID in each request making a session ID good for only a single request.
    ...
  6. Replies
    5
    Views
    1,017

    Filburt is suggesting you make your own template...

    Filburt is suggesting you make your own template engine or maybe use the WDF one :confused: . This can be quite simple, if you want something quite simple that is :). Simply do the following:

    ...
  7. Replies
    5
    Views
    1,017

    Template engine: http://smarty.php.net/ File...

    Template engine: http://smarty.php.net/

    File handling is already very simple in PHP:

    http://uk.php.net/filesystem

    The easiest functions to use are file_get_contents() and file_put_contents().
  8. Replies
    20
    Views
    3,615

    When developing I turn all errors on including...

    When developing I turn all errors on including notices and stricts in PHP 5. As soon as its in a production environment the error reporting to STDOUT should be disabled completely and you should use...
  9. Thread: XMLand PHP

    by visualAd
    Replies
    8
    Views
    1,456

    If you are going to be using XML in PHP, you...

    If you are going to be using XML in PHP, you really should consider upgrading to PHP 5. It includes many tools including, DOM, Simple XML, XSL (which would be ideal for you secnario) and xPath. It...
  10. Replies
    5
    Views
    1,762

    Sorry, I seem to have forgotten to include the...

    Sorry, I seem to have forgotten to include the link. Here it is:

    http://forums.mysql.com/read.php?103,51906,95214
  11. Replies
    5
    Views
    1,762

    Have a look at this. It appears to be a problem...

    Have a look at this. It appears to be a problem with Unicode character sets. You need to ensure the match on both databases.
  12. Replies
    20
    Views
    2,889

    What version of PHP are you using? Must be some...

    What version of PHP are you using? Must be some custom build which has been hacked. True is not equal to false, nor is it equal to null and there is no global variable called $that (unless you make...
  13. Replies
    21
    Views
    4,008

    1. Why did you decide to do Web Design? A friend...

    1. Why did you decide to do Web Design?
    A friend introduced me to PHP in 2002. Since then, I never looked back.

    2. Do you prefer coding or designing graphics?
    Coding. :D My grphics design skills...
  14. Replies
    1
    Views
    1,135

    Click Here

    Click Here
  15. Thread: Itunes

    by visualAd
    Replies
    3
    Views
    1,053

    If you open the song in iTunes then it should...

    If you open the song in iTunes then it should automatically be re-added to the libarary. In future I recommend you export your library as XML each time you make a purchase.

    iTunes library...
  16. I recommend that you do some research into how...

    I recommend that you do some research into how the site logs the user in. If it requires a secure connection or sets session cookies then I would recommend that you use cUrl as it handles all this...
  17. Replies
    2
    Views
    1,426

    To change your clock into a text lcock, simpy...

    To change your clock into a text lcock, simpy replace the form ant input button with generic div/span container with an ID:



    <div id="myClock" style="color: white">Loading .....</div>



    ...
  18. Replies
    2
    Views
    1,151

    :) Hope you all enjoy 2006 and get to keep all...

    :)

    Hope you all enjoy 2006 and get to keep all your fingers. If you have any frozen peas, please sen them here. :D
  19. Replies
    1
    Views
    1,631

    You need PHP's image (http://www.php.net/image)...

    You need PHP's image extension to resize images. Once you have compiled it and/or enabled it in the PHP.ini file, you can resize either on the fly or when they are uploaded. I would recommend you...
  20. Replies
    3
    Views
    1,168

    I am in the process of redesigning a tables based...

    I am in the process of redesigning a tables based site in CSS.

    http://www.langleywood.slough.sch.uk/

    I have so far managed to copy it quite accurately, however, I am having trouble positioning...
  21. Replies
    9
    Views
    2,613

    This answers your question from the PHP...

    This answers your question from the PHP documentation

    In other words you need to excplictly test for a return value of false:


    if (mssql_query($query) === false) {
    die('Failure');
    }
    ...
  22. Replies
    8
    Views
    1,303

    You can also do it backwards - IMO its easier :)...

    You can also do it backwards - IMO its easier :)


    for($i = 0; $i<= count($pages_list); $i++) {
    if($url_list[$i] != "$current_page") {
    if ($i != 0) echo(',');
    echo...
  23. A member (The Hobo) at VbForums...

    A member (The Hobo) at VbForums was kind enough to post a function which he uses for pagination on his site. I have set up an example of how it works here:
    ...
  24. Thread: Form

    by visualAd
    Replies
    5
    Views
    1,204

    Sorry for the delayed reply. Like I said in my...

    Sorry for the delayed reply. Like I said in my previous reply, I do note recommend you use this method and if you do, you pay close attention to the security implications and make sure you lock the...
  25. Thread: Form

    by visualAd
    Replies
    5
    Views
    1,204

    Like seanmiller said, passing a username and...

    Like seanmiller said, passing a username and password in a link will cause at the very least a security confirmation warning to be displayed, asking the user if the are aware that they are submitting...
Results 1 to 25 of 202
Page 1 of 9 1 2 3 4
All times are GMT -6. The time now is 08:30 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com