38,020 Topics

Member Avatar for
Member Avatar for sam023

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.?

Member Avatar for sam023
0
91
Member Avatar for R3Slick

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, …

Member Avatar for R3Slick
0
140
Member Avatar for Leandro-AL

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 …

Member Avatar for kireol
0
2K
Member Avatar for aruti

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 …

Member Avatar for chrishea
0
75
Member Avatar for kira4

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 …

Member Avatar for kira4
0
70
Member Avatar for sam023

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..???

Member Avatar for venkat0904
0
160
Member Avatar for R3Slick

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 …

Member Avatar for venkat0904
0
154
Member Avatar for hno

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 …

Member Avatar for hno
0
78
Member Avatar for ko ko

My EOT font doesn't work in PHP. It only work in HTML. Can anyone help me? Thanks.

Member Avatar for ko ko
0
201
Member Avatar for loveisblind

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 …

Member Avatar for loveisblind
0
116
Member Avatar for shishtawitch

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 …

Member Avatar for Atli
0
92
Member Avatar for Danielx

[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]

Member Avatar for cwarn23
0
79
Member Avatar for duka96

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 …

Member Avatar for kireol
0
194
Member Avatar for daryll1

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 …

Member Avatar for daryll1
0
821
Member Avatar for muralibobby2015

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]

Member Avatar for cwarn23
0
66
Member Avatar for emhmk1

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 …

Member Avatar for zortec
0
71
Member Avatar for kiranhg.2008

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 ........

Member Avatar for kiranhg.2008
-2
72
Member Avatar for siamfocus
Member Avatar for cwarn23
0
26
Member Avatar for sleign

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 …

Member Avatar for sleign
0
94
Member Avatar for achiman

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

Member Avatar for Arianna
0
120
Member Avatar for vishalonne

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'); ?> …

Member Avatar for mangel.murti
0
140
Member Avatar for aruti

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

Member Avatar for network18
0
83
Member Avatar for cemoyer

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 …

Member Avatar for muralibobby2015
0
85
Member Avatar for codewalkz

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 …

Member Avatar for codewalkz
0
59
Member Avatar for R3Slick

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 …

Member Avatar for prateekshaweb
0
163
Member Avatar for shishtawitch

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.........!!

Member Avatar for gamingdrunk
0
114
Member Avatar for kira4

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> …

Member Avatar for nileshgr
0
94
Member Avatar for sanna.s

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 …

Member Avatar for nileshgr
0
82
Member Avatar for achiman

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

Member Avatar for achiman
0
102
Member Avatar for miguel1810

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; …

Member Avatar for shishtawitch
0
147

The End.