Jump to content

rick001

Members
  • Posts

    28
  • Joined

  • Last visited

About rick001

  • Birthday 11/24/1989

Profile Information

  • Gender
    Male
  • Age
    23

rick001's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi i am trying to write a script which will allow me to add new channels and moderators to the frug ajax chat. Here is what i need to do, // Sample moderator user: $users[2] = array(); $users[2]['userRole'] = AJAX_CHAT_MODERATOR; $users[2]['userName'] = 'moderator'; $users[2]['password'] = 'moderator'; $users[2]['channels'] = array(0,1); the script needs to be able to search user.php file for this set of code and then append it to add new users. My problem is i can use fseek() to point to the position after //Sample moderator user: but the new entries needs to be made after the $users[2]['userRole'] = AJAX_CHAT_MODERATOR; line and below the previous user already assigned. Also i need to modify the last line $users[2]['channels'] = array(0,1); and add more values into the array(0,1) . Any suggestions?
  2. lol if you would read my last post properly u would notice i didnt call u an "idiot" rather i called the "301 redirect" loosing me link juice- "idiot"
  3. hey merylvingien just wanted to let u know that my site is back on the first page and ranks in 3rd position of google.co.in for the keyword "free php based chat rooms" and 4th for "php based chat rooms" on google.com i currently rank 6th for the keyword "php based chat rooms" Told you i will bounce back idiot 301 redirect lost me lot of link juice. Neways have a nice time
  4. ya i saw that myself too just after replying to ur post, a 301 redirect caused me that loss but i guess it will bounce back so i am not worried much. My page was at /chat.htm which has been redirected to /chat.html and then to just /chat so ya it will take some time but i am ok with it. Though i read google webmaster blogs which said that a low amount of link juice will drain but it wont mostly change my rankings so it's a bit of a setback to see my pages with contents like "chat setup" and "chat specification" is ranking higher than the actual chat page.
  5. honest opinions are always a plus i didnt ask for critique just so that i can hear some good words and suit my ego. By the way which browser are u using coz i dont see any problem with the pricing boxes and that highest paying service is highligted coz it is the complete package and as far as ranking goes the page currently ranks 186 in the 6th page of google for the keyword "Free SEO" and as you can see the service isnt yet active else i wouldnt be asking for critique. I will start my link building once the page is ready, i already rank 3rd in the frist page of google for my other service namely "free php chat" might want to take a look into those rankings. P.S :- that info "186th rank on page 6" is courtsey of IBP rank tracker
  6. ok rectified it i had mistakenly over written the intended signup.png file with that of another project i am working on
  7. No, an image is supposed to be in its place let me check it up
  8. Thank you creata.physics i am sorry i kind of had overlooked ur comments earlier and didnt get to reply, its only now that i noticed that u had taken the time to give me some valuable suggestions. Thanks and i will take a look into that, as i have said earlier, ur views no matter if its good or bad really is important and helps me improve, so thanks a ton and dont mind this late reply of mine to acknowledge ur views
  9. you still getting that error well may be i will shutdown cloudflare for a while but it would be very helpful if u could give me the following data so that i can take it up with cloudflare a traceroute your IP where you are connecting from if you are interested send me a mail at rick@techbreeze.in with those, if not plz let me know either way i will shut down cloudflare for a while so that you can take a look into it. I did try to incorporate all the changes u talked about. And if you are wondering why not shut down cloudflare right now, it's coz if are willing to give me those data then I would need them while cloudflare is active no use of having them with it turned off. Looking forward to your reply
  10. uggh idiot cloudflare !!!! could u plz clear ur cache once and reload the page if u still get the error let me know and i will just deactivate cloudflare. Its something wrong on their part my server is really online and that website not available msg just pops out randomly, if u use a VPN and change ur current ip the page will work fine, they say they are working on it any ways do reply
  11. Adam thanks for pointing out the errors i did re design the whole thing would u mind giving it a look again? thanks for ur critique
  12. ok i changed that part to <?php // validation expected data exists if( (!isset($_POST['uname']))|| ( !isset($_POST['pass'])) || (!isset($_POST['email'])) || ( !isset($_POST['website'])) || ( !isset($_POST['url'])) || (!isset($_POST['user']))) { die ('We are sorry, but all the fields are necessary. Please fill them up carefully!!'); } But it still doesnt work
  13. For some reason the !isset() function doesnt seem to work i cant find out why hope you guys will be able to help Here is the html code for the form where the user enters the data <div id="contact_form"> <h2>On Site SEO Signup Form</h2> <form method="post" name="contact" action="http://www.techbreeze.in/freeseo.php"> <label for="uname">Name:</label> <input name="uname" type="text" class="required input_field" id="uname" /> <div class="cleaner h10"></div> <label for="email">Email:</label> <input type="text" class="validate-email required input_field" name="email" id="email" /> <div class="cleaner h10"></div> <label for="website">Website:</label> <input type="text" class="required input_field" id="website" name="website"/> <div class="cleaner h10"></div> <label for="ftp">Your FTP Login URL:</label> <input type="text" class="required input_field" id="url" name="url" /> <div class="cleaner h10"></div> <label for="username">Your FTP Username:</label> <input type="text" class="required input_field" id="user" name="user" /> <div class="cleaner h10"></div> <label for="password">Your FTP Password:</label> <input type="password" class="required input_field" id="pass" name="pass"/> <div class="cleaner h10"></div> <input type="submit" value="Send" id="submit" name="submit" class="submit_btn float_l" /> <input type="reset" value="Reset" id="reset" name="reset" class="submit_btn float_r" /> </form> </div> And here is the code for the .php file where the !isset() function is used <?php // validation expected data exists if( !isset($_POST['uname'])) { die ('We are sorry, but all the fields are necessary you cant leave the "Name" field empty!'); } if( !isset($_POST['pass'])) { die ('We are sorry, but all the fields are necessary you cant leave the "Password" field empty!'); } if( !isset($_POST['email'])) { die ('We are sorry, but all the fields are necessary you cant leave the "Email" field empty!'); } if( !isset($_POST['website'])) { die ('We are sorry, but all the fields are necessary you cant leave the "Website" field empty!'); } if( !isset($_POST['url'])) { die ('We are sorry, but all the fields are necessary you cant leave the "FTP URL" field empty!'); } if( !isset($_POST['user'])) { die ('We are sorry, but all the fields are necessary you cant leave the "Username" field empty!'); Thanks in advance
  14. ya well err could u give me some ideas as to how i go abt logging the errors? and the site should be up though let me know if u are still getting the error
  15. Thank you for letting me know i was recently working on validating the HTML must have done something stupid if its alright check it once more in 20 min or so should be working by then
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.