38,023 Topics

Member Avatar for
Member Avatar for brown23

Hey again! :D I'm just wanting to know how I can stop other people included any type of file that's on my domain? All the php include files I use shall be CHMOD'd to 644 and/or 604 depending on the file, but I'm wanting to know how I can perhaps …

Member Avatar for brown23
0
145
Member Avatar for Smudly

Hi, I am having a pretty difficult time getting files to upload to my server that have a Single Quote in the file name. Example: myfile's.pdf I need to strip the file name of the quote before it uploads to the server. I currently am using SWFUpload and this is …

Member Avatar for hielo
0
90
Member Avatar for cwarn23

A week ago phpmyadmin was working fine but now whenever I try and access phpmyadmin, (in xampp localhost) it displays 2 error messages and nothing more. They are as follows: [CODE]phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username …

Member Avatar for steelluv
0
92
Member Avatar for sakush100

[CODE] <?php $x=$_POST[T1]; .... .... .... ?> <head> <script type="text/javascript"> function submitform() { document.comm.submit(); } </script> </head> <form method="POST" action="" name="comm"> <p><input type="text" name="T1" size="20"> <a href="javascript: submitform()"> Submit</a></p> </form>[/CODE] What i need is on clicking the submit link, the current popup or page should be closed. But it must …

Member Avatar for hielo
0
106
Member Avatar for JBLDW

I haven't found this in my search, but it is not something that is easily defined ...also I am not sure whether this is PHP or more Javascript, so my apologies if I have posted in the wrong place. Anyway, I have this PHP form: [code] <?php $app = $this->globals('khxc_display.app'); …

Member Avatar for JBLDW
0
104
Member Avatar for ello

Title should be 'PHP not working in Opera' Hey guys, I have some code which validates fine with the w3c validator, but still refuses to work in opera... Wondered if anyone could maybe tell wny this code works in every browser but opera? I'm stumped. [CODE] <?php if($_GET['act'] == "generate_quotes") …

Member Avatar for Sammaye
0
130
Member Avatar for turpentyne

I am frustrated to no end. I absolutely cannot find the solution to paginating a search result that pulls info from two tables. Everything seems fine at the start. I get a page with the correct number of results (2) and the correct number of page links on the bottom …

Member Avatar for hielo
0
117
Member Avatar for phpmember

Hi!!, I am a beginner in PHP , but I want a piece of code which I can use in my website to keep track of the no. of visitors (HIT COUNTER). Please help me.

Member Avatar for mastervaulttop
0
126
Member Avatar for tsteven

How do I format the links from a mysql query to show [U]click here[/U] on my webpage. $row['reviewlink'] (eg of reviewlink = [url]http://www.abc.com[/url]) I want this result to show in the html source code: <a href="http://www.abc.com" >click here</a> So the page shows [U]click here[/U] and links to [url]http://www.abc.com[/url] I want …

Member Avatar for tsteven
0
93
Member Avatar for lulemurfan

I've been trying for a few hours now, and to be honest I'm getting fed up of it not updating the table!!!:icon_sad: [CODE]$sql="UPDATE list SET title='$_POST[title]', console='$_POST[console]', system='$_POST[system]', tv='$_POST[tv]', sram='$_POST[sram]', chips='$_POST[chips]', size='$_POST[size]', md5='$_POST[md5]', sha1='$_POST[sha1]', work='$_POST[work]', error='$_POST[error]', retrode='$_POST[retrode]', comments='$_POST[comments]' WHERE ID='$_POST[id]'"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo "1 …

Member Avatar for hielo
0
165
Member Avatar for Clarkeez

Hey Im getting there with PHP but one thing that does my head in is arrays. Im trying to get all the content from the db and echo it.. For exmaple, in the db it reads under the 'names' column... matt harry dave katie trisha paul tracy brian martin sam …

Member Avatar for hielo
0
82
Member Avatar for cristi08

Hellow peoplw. I have an update syntax that is doing something else than I expect. I want to update a table with price of the products for a selected user the form is ok but when I click update the order update only the last price inserted.Why? [CODE]p> Here you …

Member Avatar for MooGeek
0
74
Member Avatar for mozan

Hi aLL I have got problen in uploading photo in profile. when i checked coding i found ! here is where i found this sign [B]// UPLOAD PHOTO if( $task == "upload" ) { $user->user_photo_upload("photo"); $is_error = $user->is_error; if( [COLOR="red"]![/COLOR]$is_error ) [/B] [B][B] // UPLOAD PHOTO if( $task == "upload" …

Member Avatar for jibon57
0
180
Member Avatar for vizz

I have sms gateway. Through that I can send sms from my website. How can I receive sms on my website. Every registered user can send sms from my website and I want to allow them to receive sms on my website.

Member Avatar for chrishea
0
187
Member Avatar for Stefano Mtangoo

Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for avario

I have a MySQL database that stores all messages for all topics and a database that stores information about the topics... On the any given topic page I want it to display the number of messages in that topic, this value would only need to be retrieved once when the …

Member Avatar for avario
0
113
Member Avatar for csweb

hi ! i created a submit form in php and when i submit it this error massage is coming (apache http server stopped working and was closeed) does anyone know what to do please help.

Member Avatar for pritaeas
0
128
Member Avatar for sftranna

hey dear, i am facing a problem while using MIGS. Problem is this that whenever im direccted to card details (Payment Details Page) amount that i sent t0 the VPC is divided by 100 so causing problems... so i get foar behind the success message :) my client is a …

Member Avatar for sftranna
0
143
Member Avatar for Manny7

Hi there, I solve all day long a problem with error "a is undefined". I have 2 pages -- index and the second page. On the second page I shows google map in div and all is alright. But on index page I get error message given in subject this …

Member Avatar for Manny7
0
165
Member Avatar for thedonedeal

Hi everyone. I'd like to know if anyone can help. I'm trying to write a code that looks for a number in a string which is a semicolon separated list. Example: I have the number 10456 stored in one variable. I have the results of a MySQL datafield which contains …

Member Avatar for Triztian
0
127
Member Avatar for niths

hi, i am having a website,and in that we are planing to put online help(online chat). so for that i need a chat script. I had seen many scripts but every script is like group chat means every persons message can be seen in that. so i dont want like …

Member Avatar for GigsD4X
0
59
Member Avatar for GigsD4X

Hi there, I want to grab a page from my site that's PHP, however, I don't want it to display the PHP... How can I do this?

Member Avatar for GigsD4X
0
446
Member Avatar for GigsD4X

I tried to write [icode]include "http://".$_SERVER["SERVER_NAME"]."/lol.php"[/icode] and it didn't include it?

Member Avatar for GigsD4X
0
79
Member Avatar for iketunde

I have a php page with two hyperlinks. I one to send email to certain addresses and the other to also send emails to another address and also delete their records from the database. I don't want a case where the user accidentally clicks on the link takes the wrong …

Member Avatar for mohammed yaghi
0
2K
Member Avatar for GigsD4X

Hi there, I'm trying to get the root directory of my site... But I don't want to edit the dots with slashes every time I make a new page in a directory inside another directory.. Any ideas? Here's an example tree :-) -/ -/stuff --/stuff/lol.php -/lolwut --/lolwut/cake.php --/lolwut/pie.php

Member Avatar for GigsD4X
0
102
Member Avatar for andydeans

hi, i have applied sha1 encryption to my update password page for users and it is encypting into the database fine. however i have a script that should at login check the encrypted sha1 password in the database and login however it does not work. i am not great with …

Member Avatar for andydeans
0
152
Member Avatar for c++learner

Hello everyone! First of all thanks to all who helped in the past on my c++ problems, but now I need help with some php. I'm trying to search the beginning of a string for the http:// string but am having trouble with it. I can find the string inside …

Member Avatar for c++learner
0
118
Member Avatar for heshanm

Hi, I have a problem. i want to show the [B]current date and time[/B] in my tables of the database. I want to show it because i want to show it on my report generated in php. By the way i [B]do not[/B] have a "date" field in my form. …

Member Avatar for almostbob
0
122
Member Avatar for nodoso

Hi everybody, I have some difficulties getting my objects mapped from a query. My query is this one: [code] $this->myPlanes = Doctrine_Query::create() ->from('FsPlane p') ->leftJoin('p.FsPlanetech t') ->leftJoin('t.FsPicture') ->where('player_id = ?', $id) ->execute(); [/code] But when I want to retrieve my objects FsPicture I get something strange code: [code] foreach ($myPlanes …

0
83
Member Avatar for lapunluyang

Hi everybody, I'm currently studying for a HND in Interactive Media Design and our current assignment is a Self Managed Learning Plan based on a technology/language of our choosing. For my SMLP I have chosen to learn about the application of PHP within the Interactive Media/WebDesign industry. As there are …

Member Avatar for chrishea
0
142

The End.