Jump to content

Search the Community

Showing results for tags 'PHP'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL








  1. Hello,I am going to do a test/benchmark of some PHP frameworks.The main factor of comaparation will be a comunication with MySQL databases and CRUD operations with them.I'll also compare their documentation, comunity support, etc.So I made a list of some known frameworks and I'll be glad if someone can tell me which I should not use or which I forgot to include. Zend Framework CodeIgniter Symphony Yii Kohana Prado CakePHP Nette PhpBURN Akelos Recess Jelix DooPHP Qcodo Seagull Thx for every help.
  2. Hello everyone!I have a few questions, I have taken on a project this week that is kinda complex. My first question regarding this script is this: I am going to have a forum with a few drop downs text fields and text boxes and check boxes/selections. for this example lets say there is a total of 12 elements (from the above list) Thats the easy part no what i need to do is. I am going to have a $var that can be anything from 1 to 150, now i need the forum drop downs text fields, text boxes and check boxes/selections to repeat with in that forum for the amount of $var. Then when all that info i
  3. Hey everyone! i am trying to fetch data from different file locations, every time there is a new location like this /5/3/539238_375049019231475_1212083119_n.jpg/3/0/309320_396625203733616_1897402511_n.jpg/n/i/nike.jpg I want to get data from all these locations in a single query, how do i get it? Please help me..
  4. Can anyone tell me what is wrong with this file that keeps saying that this file is invalid. it seems certain jpg files are invalid while others are not. yet they all meet the guidelines establish. ERROR:Upload: americanrobinbird.jpgType: image/pjpegSize: 12.8095703125 KbStored in: /chroot/tmp/phpfryeow Invalid file Invalid file Upload.php file <?php$query = "SELECT * FROM {$dbprefix}pages ORDER BY hn ASC";$result = mysql_query($query) or die(mysql_error());while($row = mysql_fetch_array($result)){extract($row);$options .= "<option value='$pn'>$hn</option>";}$query = "SELECT *
  5. I have created a checklist using HTML tables, however I want different people to be able to use the checklist and be able to come back to it and check things off as they are acquired or completed. I'm pretty sure I will need to use PHP and I know how to create a login page, and I think to be able to save the checkboxes for individual people I would use a PHP form but I'm not sure how to incorporate the table I have already created. Any help would be appreciated.
  6. Note: This part of the problem is solved. Please go down to the 11:38 am posting below to pick up what monster we face now. Here's the link to show you the problem -- results appear in the wrong location -- just type a into the search box. http://www.woofwoofwoof.org/is01/search.htm Greetings: I'm brand new at trying to wrangle PHP into cooperating so please forgive my being so wet behind the ears. On the W3School's site there is code for a PHP/HTML/AJAX instant search which I want to integrate into my site. The code is at http://www.w3schools..._livesearch.asp The code works perfectly on
  7. Hello, regarding to this example in your website: this example display data from mysql database\table with parameter (dropdown list),and i do input the choices to this list,what if i want same this but the choices in the (dropdown list) come from database\table as well ? anyone can help me plz? this example containing two files as the following: 1. HTML File: <html><head><script type="text/javascript">function showUser(str){if (str=="") { document.getElementById("txtHint").innerHTML=""; return; }if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Sa
  8. sepoto


    I am currently reading the title "Essential PHP Security". I see one of the topics is concerning the use of "htmlentities()". I have looked up the functions man page on php.net and I do understand what it is doing however I don't yet fully understand how the use of "htmlentities()" is supposed to make my application more secure. Could someone explain this a bit? Thanks!
  9. hi folks, iv gone into my sites php files via FTP to try and edit some sections, the problem im having is that its not a readable file. This is the message im getting:<?php @Zend;4147;/* ñ!This is not a text file!Þí */print <<<EOM<html><body><a href="http://www.zend.com/store/products/zend-safeguard-suite.php"><img border="0" src="http://www.zend.com/images/store/safeguard_optimizer_img.gif" align="right"></a><center><h1>Zend Optimizer not installed</h1></center><p>This file was encoded by the <a href="http://www.ze
  10. Im trying to upload a file to mysql using php and for some reason it doesnt work...could anyone help please..thanks in advance //Here goes the db connection //check for file upload if(isset($_FILES['csv_file']) && is_uploaded_file($_FILES['csv_file']['spredSheet'])){ //upload directory $upload_dir = "csv_dir/"; //create file name $file_path = $upload_dir . $_FILES['csv_file']['name']; echo ($_FILES['csv_file']); //echo "asd"; //move uploaded file to upload dir if (!move_uploaded_file($_FILES['csv_file']['tmp_name'], $file_path)) { //error moving u
  11. Hello, I worked on pack, unpack function of php. I made a simple test by using pack and unpack function. I worte a simple code like <?php $SrcArry = array(10,20,30,40,50); $DestArry = array(); $Str = NULL; for ($i = 0;$i < 5;$i++) { $Str .= pack('I', $ScrArry[$i]); } $DestArry = unpack('I*',$Str); var_dump($SrcArry); var_dump($DestArry);?> I named this file MyTest.php. Now when I execute this file by using php MyTest.php I got the result like Result of var_dump($ScrArry) array(5) { [0]=> int(10) [1]=> int(20) [2]=> int(30) [
  12. Hello I've got a question about "AJAX Database Example" from w3schools page (linked here -> http://www.w3schools...ax_database.asp ) All works perfectly fine, but I want to adjust it to TWO select dropdowns and show the results only after the second one is selected (I pick the first select, then second one and after that results are shown). The problem is, I don't know exactly what I need to change in showUser function. Of course it needs to take 2 parameters and I have to create second select dropdown outside the function, but my knowledge about AJAX is too poor to make it work ; / Will
  13. i have 2 tables:1) father table.. (posts table)2)child table.. (comments table)now i ordered the results by (id of father) desc.....now what i want is if comment on some post,,,this post is being the first in the order!..any help please ?what query to use?
  14. Hi everybody, I am trying to write a code which record a CIDR ( format ip list into mysql database. I have a problem at one part of my code. Code is the below. With this code I am trying to find every third "." character's place and every "/" character's place and every " " characters place. After finding the places the code record the places in to an array which name is $reference_points. The problem is that for exaple if I apply this code on this string. The result should be $reference_points.[1]=7 $reference_points.[2]=9 $reference_points.
  15. Hi All, I need to login to zoho crm using a url which will be in my own site. But i am unable to do this as i read the zoho api, i got confused and i am not getting a right way to go forward. I need some code example or any good tutorial. Thanks,
  16. Hello all. Been away from working on my website for some time now but I have decieded now that I have a job which will start 1st October that I should get the site finished off. Im intending on coding a email form for the site but seem to be stuck installing and working with Wampserver and PHP-5.4.6. Wampserver says put PHP files into my \wamp\www location but when I do it does nothing and wampserver just stays offline and when going to localhost it goes oops nothing there on google chrome Please help as I know I need PHP installed before I can attempt to learn to code it. Its got to be someth
  17. Net123

    how they do it

    hello anyone could please explain me how they doing this ?AUTOLOGIN URLhttp://wapzan.com/au...ODYzN2M3/229700 MAIN EDITORhttp://wapzan.com/ed...k3M/root/395384 i having a doubt for a long time how they doing up this "how they ordering codes one by one "?i know they used mysql for order these kinds but what is their basic program for order one by onelike if there was in (Main EDITOR)1st code2nd code3rd code4th code if i tried a insert some codes before 2nd they moving all the things to afterwards ....they doing this again and again really what was happening inside how they marking this orde
  18. Hi I want to access javascript vaibale in PHP on the same page. How it can be possible?Anybody can help? Thanks.
  19. `Am doing small project on Php.I need to show the address(output) on google map.and .,I need to show recently requested pincodes also.please help.... thanks in advance.. this is my code---------------------------
  20. How to display recent searches on a web page using php.......need help Thanks in advance
  21. BigD

    different behavior

    My code ran ok on my PC, ran differently after I uploaded to web server. The code checks if user in database. brings up std.php if it is.On web server it passed the check but failed to bring up std.php. it just sits there. <?phpsession_start();include ("mylibrary/login.php");login();$userid = $_POST['userid'];$password = $_POST['password'];$query = "SELECT stdid, classid, lastname, firstname from student where userid = '$userid' and password = '$password'";$result = mysql_query($query);if (mysql_num_rows($result) == 0){ echo "<h2>Sorry, your account was not validated.</h2><
  22. How to connect notepad++ to xamp..........,am unable to get output,,,I got output using same php file in (dreamweaver to xamp) please help...
  23. I used a select statement and found a record in DB, When I tried to update the record, returned 0 rows and not updated. Here is the code. Please help.$query="SELECT classtype,startdate,enddate,classstatus from class where classname = '$classnameval'"; $result = mysql_query($query); echo "select class sql $query</br>"; $num_rows = mysql_num_rows($result); if (!$num_rows) { echo nl2br("Class $classname not in DB\n"); goto bye; } if ($result) { $row = mysql_fetch_array($result, MYSQL_ASSOC); $classtypeo = $row['classtype']; $classstatuso = $row['classstatus'];
  24. At the beginning i thought that i should double click it to open it but it didn't work,i installed Apache and php, but i don't know anything about how to use them and even why i installed them, just followed the tutrial,so can you please explain to me what do i do because ... the php tutorial is extremely good like any other in w3schools,i am 13 years old and i got how to write scripts but not how to run them,so please explain how to.
  25. Hello W3S people again. once again im in a little need of help. at least to get it started, im a little lost in this matter...im in the half-way exams at this week. and we got told to make a admin system that could upload images to products... that part i (CAN) do...but here comes my problem... i dont know the part of resizing the images...any ideas or suggestions would be pretty awsome! and thats not for kidding...i just need a little help for the beginning of it, so i can see the syntax... Hoping answers or suggestions soon!... thanks alot in advance! .
  • Create New...