38,020 Topics
| |
when i wrote localhost/site/images/ i can see all images of my site... how can i stop it...!! i tried .htaccess with code "deny to all" but it does not show images when i run the site on browser..!! What should i do.? | |
I got a search.php file and a search_results.php file like in my previous thread...the user can select from a dropDown menu what they want to search EmployeeID/EmployeeName/Manager/Department/Team then a text box where they can type in the ID, full name (with spaces) ,Department..ect I got the search for ID, Department, … | |
Hello! I am trying to create some sort of a crawler. I was using file_get_contents() to get the pages until i stumbled on this one site, where that didn't work: [CODE=php]$page = 'http://www.site.com/page.php'; $content = file_get_contents($page); echo htmlspecialchars($content);[/CODE] This returned a completely blank page. After looking it up, it appears … | |
what problem i am actually facing is that .. i have a database -- table in which i have lng and lat saved .. And i want that when i fetch them in textual form i also get the address to which those particular set of lng and lat are … | |
May I know why I cannot submit my search function by pressing enter? When I enter the primary key and press enter, it will show this : Notice: Undefined index: submit in c:\easyphp1-8\www\efiling\accountingdeleteprocess.php on line 23 But if I enter the primary key and press the submit button, there is … | |
i want to encrpt query parameters in Url... So that end user unable to understand it..!!! [url]www.test.com/page.php?uid=1234&tid=234[/url] can we encrypt or hide value through .htaccess..??? | |
Ok so I have been working on this all day but cant get it. I want to add an Employee ID to an Employee Table....I got this much...But first I need to check if that ID exists already. How can I do this, here is my code: [CODE]<?php session_start(); require_once … | |
HI I have a while loop and it's a foreach in it.The while loop showes a query result but if there was a foreach in the while loop ,it's run just one time but if it isn't in it ,the while run untill fetching all the result but I want … | |
My EOT font doesn't work in PHP. It only work in HTML. Can anyone help me? Thanks. | |
Hello. I have text fields with data that is not being inserted into my table 'Election'. The Election table has these fields: ID (primary key and auto-increment), title, open_datetime, close_datetime, department, adminID, active (default is 'N') I checked to make sure all the field names are the same. Everything works … | |
i have the following code [CODE]<?php $id = $_SESSION["user_session"]; $get = mysql_query("SELECT * FROM table WHERE id='$id'"); $total_found = mysql_num_rows($get); if($total_found==0){ my code goes here }else{ while($g = mysql_fetch_array($get)){ $id_2 = $g["id"]; $query = mysql_query("SELECT * FROM table WHERE id != '$id' AND id!='$id_2'"); while($z = mysql_fetch_array($query)){ mycode goes here … | |
[B]Hello I am PHP programmer I want to create system tags Like wordpress for my site I'd love to get ideas / explanation of how to do it and how it works Thanks Daniel[/B] | |
I'm having problem with opening php pages in browser. I'm using apache web server and the problem is that instead of a page browser shows php code that i wrote in text editor (for example it shows <?php phpinfo(); ?> instead list with informations about php). Everything worked fine before … | |
Hi, for one of my projects at uni i have to create a PHP based text game, i am basing mine on the colossal cave game. i am trying to use the explode function to split my string up into variables to check against my database but am getting the … | |
hello, i have store value in database like this in only one field. [CODE] one. two. three.[/CODE] but i am retriveing from database that is displaying like this [CODE] one.two.three. [/CODE] but i want same format.like in database [CODE] one. two. three.[/CODE] | |
Hi again, I'm working on a marquee components list for work and i'm stuck on something that seems pretty basic but it's totally flumped me! I have a form with 10 fields, each representing a marquee size when the submit is clicked in effect it searches the database 10 times … | |
I want to display records from database in this order 1 2 3 4 5 6 ........ or 1 4 .... 2 5 ... 3 6..... pls can anybody help me ........ | |
i want to talk to php programmer talk about php oop thank [URL removed] | |
ok I've been looking all over the net and I cannot find anything about this issue anywhere, other than the same problem is mentioned once in a great while, but never shown how to rectify this. I'm at a point where I can't do anything else and I could use … | |
Please can anyone tell me the best way to write a php login script that will encrypt the user password when an account is created and decrypt it when the user try to login. It is a localhost system so not really concern about hackers. Thanks | |
Hi Every Body I have a samll piece of code written in php my problem is code is not deleting record from my database. Please see the code below which is calling [COLOR="Red"]deleteadministratorexe.php [/COLOR]- which is actually deleting the record. Files are attached here - [CODE] <?php require_once('security.php'); require_once('connection.php'); ?> … | |
Hello, I am facing the error in my cart basket.. Cannot use object of type __PHP_Incomplete_Class as array on line......... Thanks in advance | |
I can't get any of my attempts to validate the radio button to work. If either of the buttons is clicked it works. But, if no button is clicked an the submit button is click by itself I get an error on my action page. I'm out of ideas and … | |
I am having this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''3'' at line 1 The $get1 value is 3. I tried enough but to no avail. I don't see any … | |
Ok I was working on this yesterday, and I couldn't get it. I have a php file called search.php and a file called searchResults.php, if a user wants to search for an employeeName/EmployeeID/team/department/manager (in a DB) specifically they will use the search.php page and then click submit and show the … | |
if i have [ if statement ] in my php code than with jquery it is not working...........!! e.g if i have --------------------------- [CODE]<?php if(myquery){ }else{ do jquery here } ?>[/CODE] ------------------------------ but jquery in else area is gone disable how can i fix that.........!! | |
May I know how to fix the frame in my system so that they will not shift their position? When I open my system in other computer or when I zoom it, the frames in my system will move. May I know how to fix it? I use <table>, <div> … | |
hello...i m new to the web designing field, currently i m working on wordpress themes for my website, the exact link of the theme for which i m working is{*"http://www.press75.com/the-folio-elements-wordpress-theme/"*},the theme "folio elements" has a image slider and when we click on a particular image it gives us the details … | |
Hi please can anybody tell me if it is possible to write a code in php that will change the image being display on my website every second. In others I want three different images to display at my homepage but at intervals. Thanks | |
Hello DANIWEB! Haven't posted before... but find this site a good info resource... but I'm pulling my hair out with my php register code - don't know what I'm doing wrong... as the code i've written doesn't send on the site i'm working on... Here's the code [CODE]<?php if(!$_POST) exit; … |
The End.