www.webdeveloper.com

Search:

Type: Posts; User: vonshavingcream

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    891

    did you try else if($hidden == "no" ||...

    did you try


    else if($hidden == "no" || $admin === TRUE)
  2. Replies
    10
    Views
    2,760

    you may have to manually set the php.ini on your...

    you may have to manually set the php.ini on your sever to allow for fopen() to work with HTTP://

    check with your hosting company or set allow_url_fopen=On in your PHP.ini file.
  3. you will also want to learn about loops both ...

    you will also want to learn about loops both

    for() loops
    and
    while() loops

    you will also want to learn foreach() as well.
  4. Replies
    5
    Views
    879

    fair enough. you eliminate that by adding a...

    fair enough.

    you eliminate that by adding a space, which is basically what you did with preg_replace


    $string = str_replace('<a ','<a class="blue_text"',$string);


    no worries though ......
  5. Replies
    1
    Views
    570

    the easiest answer .....

    the easiest answer .. http://www.princexml.com/overview/

    but it's not open source (as in free)

    although it does a free personal version.

    I have also used http://www.fpdf.org/
    for many large...
  6. Replies
    3
    Views
    649

    for starters .. how are storing the image of the...

    for starters .. how are storing the image of the week information?

    do you have a database?
  7. Replies
    5
    Views
    879

    you could use str_replace...

    you could use str_replace


    $string = str_replace('<a','<a class="blue_text"',$string);
  8. JunkMale is right .. mysqli is a class object ...

    JunkMale is right .. mysqli is a class object

    would look more like this


    $mysqli = new mysqli('localhost', 'my_user', 'my_password', 'my_db');


    ...
  9. Replies
    7
    Views
    950

    i would recommend reading this tutorial. ...

    i would recommend reading this tutorial.

    http://www.phpfreaks.com/tutorial/php-basic-database-handling

    moderators .. this link does go to another "forum" type site. If this is not allowed,...
  10. Replies
    24
    Views
    4,662

    no not rejected, but they do get notified that...

    no not rejected, but they do get notified that via email that the account was accessed.

    they also have to click manually on a link to continue. You could also add a capcha box at this point as...
  11. Replies
    24
    Views
    4,662

    the second line in the description at the wiki...

    the second line in the description at the wiki link

    "A salt is often employed with hashed passwords to make this attack more difficult, often infeasible"

    what i have done in the past for things...
  12. you might also want to step away from your switch...

    you might also want to step away from your switch "relying" on the $_GET[] of the variable.

    if your errors are hidden you won't see the error but it's still there. If i remember correctly, it can...
  13. Replies
    1
    Views
    1,725

    looks at first glance like you are only...

    looks at first glance like you are only referencing the first entry in of your mysql array.

    i would change the SQL to limit the the pull to 6 entries first.


    $sql = "SELECT * FROM friends AS...
  14. Replies
    3
    Views
    864

    I am just getting a blank screen. the...

    I am just getting a blank screen.

    the fsockopen is not erroring out.

    $this->_dsUrl is the host name of the server I am trying to access.

    in this case ... blue.intra.com

    when I check the...
  15. Replies
    3
    Views
    864

    fsockopen() question

    I am working on an fsockopen() function and it seems to working but nothing is being returned.

    i wanted to make sure i wasn't missing anything. before I go and look at configuration files and...
  16. Replies
    2
    Views
    1,156

    I acutally got it to work. My XML wasn't really...

    I acutally got it to work. My XML wasn't really the problem.

    I needed to use the PHP value



    $req->addRawPostData('xml here');


    this posted the XML to the server.
  17. Replies
    14
    Views
    2,369

    Cool, good job. Hope I helped and didn't...

    Cool, good job.

    Hope I helped and didn't hinder :)
  18. Replies
    14
    Views
    2,369

    that will work, but it won't actually change the...

    that will work, but it won't actually change the database values, just the value within the resulting array.

    you will also want to make sure you ORDER BY the correct field

    SELECT * FROM table...
  19. Replies
    14
    Views
    2,369

    ahh .. well in that case a simple for loop using ...

    ahh .. well in that case a simple for loop using count() would help you



    //
    $entries = //array of data rows sorted by that id field;
    $counter = 1;
    for($i = 0; $i < count($entries); $i++){
    ...
  20. Replies
    14
    Views
    2,369

    is the auto increment field set as the primary...

    is the auto increment field set as the primary key?

    If so, I'm not sure you can re-use primary keys.

    plus mySql stores the next auto increment in the table data structure. auto-increment=14 or...
  21. Replies
    2
    Views
    1,156

    Using an XML interface

    I know this is probably specific to each application, But I figured I would ask any anyway.

    I am trying to use the Http/Xml interface included with a web based software package we use here called...
Results 1 to 21 of 21
HTML5 Development Center



Recent Articles