39,392 Topics

Member Avatar for
Member Avatar for shadiadiph

Is there anywhere I can find a list of dangerous MIME types I have tried Yahoo and Google not much on there?

Member Avatar for uncle_smith
0
60
Member Avatar for shadiadiph

i have got this done so far but it still isn't working properly its really doing my head in it sends the message fine subject file attachment but cuts the html message off halfway down and doesn't send the disclaimer if i change $message which is being passed to $messagemain …

Member Avatar for shadiadiph
0
109
Member Avatar for mrcniceguy

I`ve created a social network website in PHP,actually this is my first website. now i need to know how i`m i going to benefit using my website. Please i need somebody to advice me,beacuse i know nothing about website marketing.

Member Avatar for ShawnCplus
0
92
Member Avatar for veledrom

Hi, I’ll use a txt file to store locations in it. When I user click on button, the locations will be read from txt file and stored in an array. If more than 1 user run this script, will it cause problem like “File is already open”? It this reliable. …

Member Avatar for veledrom
0
83
Member Avatar for gagan22

HI EVERYONE, I have one problem, as i calculate two time like today i have worked [B]9.43 hours [/B]and 2nd day i worked [B]8.20 hours [/B]when i calculate total time of these two day then it shows [B]17.63 hours [/B]but i want to show this with the help of php …

Member Avatar for almostbob
0
86
Member Avatar for Woobag

I'm trying to build a crude album viewing site. There are three files I'm working with: [LIST] [*]index.php: Contains html code. [*]images.php: Builds images from browser URL and an array. [*]include: Builds an array of images from a given directory. [/LIST] Given: [B]image.php[/B] [code=php] <?php include('include.php'); buildImageArray("images/"); $image = $_GET['show_img']; …

Member Avatar for cwarn23
0
101
Member Avatar for tomtetlaw

i am makin a simple account creation screen for my website and i have an error: Error: No database selected and i dont know why im getting this because i have used mysql_select_db(), heres my code: [code="php"] <?php $con = mysql_connect("localhost"); if (!$con) { echo "Could not connect:" . mysql_error() …

Member Avatar for tomtetlaw
0
251
Member Avatar for Dsiembab

This may be a funny question. But how does php get rendered, I know it is a top down interpreter. But does that change when using classes. If I make a bunch of variables in a function do all the variables get interpreted first and then the function logic or …

Member Avatar for Dsiembab
0
83
Member Avatar for JimD C++ Newb

Good evening, all! I'm trying to display multiple checkbox values in a summary screen of sorts. The website is about movies, and if somebody checks that they like more than one movie type, I would like all of their choices shown. I currently get "Your favorite movie type is: Array" …

Member Avatar for mschroeder
0
128
Member Avatar for rajeesh_rsn

Hi I had a captcha script in my web page. Some thing like this.. [CODE]session_start(); $md5 = md5(microtime() * mktime()); $string = substr($md5,0,5); $captcha = imagecreatefrompng("images/captcha.png"); $black = imagecolorallocate($captcha, 0, 0, 0); $line = imagecolorallocate($captcha,233,239,239); imageline($captcha,0,0,39,29,$line); imageline($captcha,40,0,64,29,$line); imagestring($captcha, 5, 20, 10, $string, $black); $_SESSION['key'] = md5($string); header("Content-type: image/png"); imagepng($captcha);[/CODE] It …

Member Avatar for rajeesh_rsn
0
181
Member Avatar for shasha821110

Hi, just want to know which software is the best for PHP. I use PHPeditor and Notepad++ So how about you guys??

Member Avatar for almostbob
0
121
Member Avatar for croft

Let me tell you this from the start =) We play a game called eve. In that game wheneve you kill someone you will recive an email wich i will post belove here for an idea how it looks like. This game alsoo has an ingame browser html 1.4 compliant. …

Member Avatar for digital-ether
0
290
Member Avatar for niketa.kasliwal

Hi I want to send data to remote server ,I have used http_post_data and cURL and even fsockopen method. For http_post_data it has give me undefined function error.For cURL i have included curl libraries .dll file ,uncommented curl extension from php.ini file though it's giving error like curl_init() can not …

Member Avatar for digital-ether
0
549
Member Avatar for sureronald

What is the best validation technique or function that I can use to detect spaces,commas or any other characters I dont expect from a user. I know of ereg and eregi but it seems not to be working the way I want. The problem is that I am allowing a …

Member Avatar for ShawnCplus
0
87
Member Avatar for serdas

i am using this code to send pm, after i send a pm it says "You have successfully sent a private message!" and the boxes under for user to send again if they like but i would like to show only "You have successfully sent a private message!" if the …

Member Avatar for serdas
0
102
Member Avatar for changeco

I'm not new to php, but, I'm not a great coder either... I'm not too familiar with sessions and session variables. I have been tasked with building an online "management" system for the eLearning we're offering. We have one .swf file for eLearning currently, but, have 23 in production so …

Member Avatar for blocblue
0
91
Member Avatar for forzadraco

anyone can help me to make regular expression [code ] $string=" xxxxx xxxxx <body border='0'> <script language=javascript> ... word1 ... word2 ... word3... word4 ... </script> "; i want to remove all word from that string if that string have minimal three word'x' preg_replace(); how to make that regex?

Member Avatar for nav33n
0
151
Member Avatar for lifeworks

Hi Ive been using the nl2br function on text that users input... which has been great, but if they want to edit that text later, its riddled with <br />'s etc... is there a way of stripping these html tags out of the code before its displayed in the 'edit' …

Member Avatar for Rhyan
0
121
Member Avatar for forzadraco

target.php: xas xjahs dajdh ajdhjas da d xxxx na dh ada hd main.php: <?php // removal malicious script by forzadraco $filename="target.php"; $existfile=@fopen($filename,"w"); if($existfile){ echo "file berhasil dibaca \n\n"; }else{ echo "file gagal dibaca \n\n"; } if( false == ($str=file_get_contents( $filename ))) echo "Could not read file."; else echo "File contents: …

Member Avatar for cwarn23
0
166
Member Avatar for apollokid

Hi all I searched forum but couldn't fine the right answer I was looking for. I found a script online to help me with uploading a record to my database and the file to directory and name to database. I cannot get it to work and I cannot pin point …

Member Avatar for apollokid
0
90
Member Avatar for serdas

how does this function work? how can i adjust this to a different language then english and the time zone as well? if possible? i think this is the code [code]function formatDate($val) { list($date, $time) = explode(" ", $val); list($year, $month, $day) = explode("-", $date); list($hour, $minute, $second) = explode …

Member Avatar for almostbob
0
176
Member Avatar for queenc

hi can anybody tell what the error is Fatal error: Call to a member function insertseeks() on a non-object in php

Member Avatar for queenc
0
78
Member Avatar for serdas

would you know why would a text comes back in one line, i am trying to implement this pm system where i posted for some other isue, but this one is strange. when i am composing a message and keep writing, in the message body i have the similar window …

Member Avatar for mschroeder
0
192
Member Avatar for sacarias40

im working on a site and i would like to display the newest members within 30 days. how would i do this. im using mysql database. when the person signs up, it records the current date into their row. my module should show people that have signed up within the …

Member Avatar for sacarias40
0
307
Member Avatar for whitestream6

OK, so what I'm trying to do here is create a PHP site that's driven by a database similar to this one: [url]http://library.digiguide.com/lib/programmenextshowing/Police%2C+Camera%2C+Action!-12578[/url] [url]http://library.digiguide.com/lib/programmenextshowing/House-238308[/url] That site basically uses a PHP database and the pages are generated from the database as far as I'm aware. I'm trying to do a similar …

Member Avatar for death_oclock
0
150
Member Avatar for sarithak

Hi frnds.. i need to know some ajax based small websites.... i mean website designed by using [B]ajax[/B] with [B]php.[/B]... Also send me some urls regarding ajax basics to learn ajax easily.. ....

Member Avatar for uncle_smith
0
124
Member Avatar for smahaf

Hi I have the following PHP search results page I am trying to configure the results page so that regardless of what is searched or what search fields have or do not have data the results are allways ordered by lastname. If I use Order by lastname in the initial …

Member Avatar for smahaf
0
104
Member Avatar for conspiringfate

I am looking for a very simple article submit script. That is free. Anyone know of any? mike

Member Avatar for NormandP
0
151
Member Avatar for nawabsheriff

hi i wanna create a web page in such a way that, if a user gives a data in a text field,And click the submit button, it should automatically store in a drop down menu options... pls help me in devloping the code for this..... Thanks Nawab

Member Avatar for cwarn23
0
79
Member Avatar for Coreye

Hey guys, OK, here's what I am trying to do: I need to log into another website, and download their reports. Seems easy right? Well, it is... because I've done it with numerous other websites. However, this one is tricky. The only way I can download the report at this …

Member Avatar for Coreye
0
118

The End.