www.webdeveloper.com

Search:

Type: Posts; User: r_sole

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    4,229

    some questions about ecommerce

    Hi. Ive never set up a shop online before.On my website im selling one product (an ebook). So the whole website is just one page (a "landing page").Ive heard of applications such as magento. Is this...
  2. Replies
    2
    Views
    863

    Try using the break (http://php.net/break)...

    Try using the break function straight after the header function.

    So it would look like this:


    if(!is_numeric($_GET['y'])) {
    header('Location: home.php');
    break 2;
    }
  3. Oh true, your right. Duh, stupid me. Well this...

    Oh true, your right. Duh, stupid me.

    Well this works. All it is is altered code from the other page, so all the credit goes to TheBearMay:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
  4. Thread: Hyperlink

    by r_sole
    Replies
    5
    Views
    819

    Awesome. Good to see you got it working.

    Awesome. Good to see you got it working.
  5. Thread: Hyperlink

    by r_sole
    Replies
    5
    Views
    819

    Wait, I completely misunderstood your question....

    Wait, I completely misunderstood your question.
    Do you just mean this:


    echo "<span style='color: $color;'>Current Map: ".$server->server_map."<br />";
    echo "Players:...
  6. Thread: Hyperlink

    by r_sole
    Replies
    5
    Views
    819

    I've never actually tried using it, but you could...

    I've never actually tried using it, but you could try using output buffering. What it would do is capture the output of those two pages and then you could print them. For example:


    // Start...
  7. Thread: Classes in CSS

    by r_sole
    Replies
    4
    Views
    793

    No idea. I thought you could just use as many as...

    No idea. I thought you could just use as many as you wanted.
  8. I could be wrong but the part here:

    I could be wrong but the part here:

    <script type="text/javascript">
    function delayHide(idMenu) {
    var menuID = document.getElementById(idMenu);
    menuID.style.display="none";
    }...
  9. Replies
    2
    Views
    765

    I figured it out. You need to use relative...

    I figured it out. You need to use relative locations not absolute ('/images/image.jpg' and not 'http://www.site.com/images/image.jpg'). I should've known that.

    Oh well, I figured it out so that's...
  10. Replies
    2
    Views
    765

    Touch() - help me

    The PHP function touch() doesn't work for me. It says it's unable to create file because no such file or directory. Isn't that the point of the function. You 'touch' a file that doesn't exist and it...
  11. Replies
    5
    Views
    805

    :D Sweet. That's exactly what I was looking for....

    :D Sweet. That's exactly what I was looking for. Thanks dude.

    Thanks for all replies.
  12. Replies
    5
    Views
    805

    'include' question

    I often use the
    include("test.php"); thing in my sites. What I want to know is this: can I make it so someone else (on their own site, on a completely different server etc) can do like a 'remote...
  13. Replies
    4
    Views
    1,036

    The only bad thing about doing it the PHP way is...

    The only bad thing about doing it the PHP way is that I don't have as much control over what the people are adding to their site.

    For example, by using the javascript file I can make sure that the...
  14. Replies
    4
    Views
    1,036

    Awesome, thanks man. Just for anyone else who...

    Awesome, thanks man.

    Just for anyone else who was curious, what went into my php file was this:



    <?php
    // Set header
    header("content-type","image/jpeg");
  15. Replies
    4
    Views
    1,036

    Alright I decided on a way to do this, though I...

    Alright I decided on a way to do this, though I think it may lead to problems..

    I just made a .js file and made it write what I wanted. Eg:

    document.write("<img alt='daily image'...
  16. Replies
    4
    Views
    1,036

    User adds code, they get new image daily

    What I want to be able to do is give people a small amount of code to add to their website, and from that a new image will be displayed daily (simply retrieving the location from a database or...
  17. Absolutely no idea about RSS feeds... help me

    I've got this website - http://tinyurl.com/3yw7ao

    The cartoon on the home page is updated everyday by me manually.

    I want to make an RSS feed (I think) that displays this cartoon, so that...
  18. Thread: Wordpress help?

    by r_sole
    Replies
    1
    Views
    1,014

    Wordpress help?

    Does webdeveloper cater for people in need of Wordpress help? If not, where can I get help (other than wordpress's own forum, which sucks)?

    My wordpress question:

    In the sidebar the "pages" are...
  19. Replies
    4
    Views
    1,600

    Awesome. So with cronjobs can I pretty much...

    Awesome. So with cronjobs can I pretty much specify a time for a certain PHP script to execute?
  20. Replies
    4
    Views
    1,600

    PHP - daily update ...Automatically??

    Can I use PHP to update my site automatically. This is my situation...

    I have a site where I upload content daily. This involves a file upload, and info going to a database. Pretty simple stuff.
    ...
  21. Replies
    10
    Views
    956

    Check your hosting control panel. Mine for...

    Check your hosting control panel. Mine for example needs, instead of just localhost...
  22. Replies
    4
    Views
    630

    So how can I make it retrieve multiple rows? ...

    So how can I make it retrieve multiple rows?

    (I don't want to print them out by the way, just put the multiple rows in an array so I can search the array)
  23. Replies
    4
    Views
    630

    Retrieving data from mysql?

    I want to retrieve data from MySQL and put it in an array.

    Once it's in an array, shouldn't I then be able to search if a certain string is in that array.

    My example...

    ...
  24. You are the man! :) Thanks dude, that did it.

    You are the man! :)

    Thanks dude, that did it.
  25. Okay, I'll try and figure out regEx. Do you...

    Okay, I'll try and figure out regEx.

    Do you have any idea which function I would use though? ereg? preg_match?

    Once I use ereg or preg_match to extract the things I want, how would I go about...
Results 1 to 25 of 63
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles