39,402 Topics

Member Avatar for
Member Avatar for mark1048

[b]Introduction and Installation of PHP [/b] [B]Intro[/B] This tutorial describes: [INDENT] What is PHP. Download PHP binary version for Windows. Writing the first PHP script. Installing PHP on IIS as CGI.[/INDENT] [b]What Is PHP? [/b] PHP stands for PHP: Hypertext Preprocessor, a recursive acronym. It is mainly a Web server …

0
540
Member Avatar for terence sharp

i have made a script that adds to a tabel in mysql, one problem is, even though it echos that it worked. it doesnt add them :( [php] <?php $dbhost = 'localhost'; $dbuser = 'tezzana_cams'; $dbpass = '**********'; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); echo …

Member Avatar for chrisbliss18
0
83
Member Avatar for michael123

I have date value saved in Mysql DB, with format "dd.mm.yyyy", now I want to delete all records that date is older than 10 days from today, how can I do that in php? is there php function can calculate previous date? thanks for any help.

Member Avatar for Lafinboy
0
61
Member Avatar for paradox814

I am trying to create a script and I want to be able to say [php]require "~/functions/functions1.php"; require "~/functions/functions2.php"; require "~/functions/functions3.php";[/php] but php doesn't seem to understand what the tilde means (and yes this for a linux server). Is there any way I can specify the home dir without actually …

Member Avatar for paradox814
0
199
Member Avatar for terence sharp

ok so i need a simple php script, i will give credit to anyone who helps :) --------- cam.php?camera_ip=192.168.2.115 when page loads it loads a windows media player applet thing viewing the media stream at 192.168.2.115 and if its changed to cam.php?camera_ip=192.168.2.169 then it views stream at 192.168.2.169 i need …

Member Avatar for chrisbliss18
0
148
Member Avatar for homeshow

Re: IIS & PHP configuration-PHP.ini instructions ignored My server setup: Win2k, IIS5.0, PHP 4.0.10 running as ISAPI Problem 1: PHP.ini settings ignored. Not too sure how to address this one. I've tried changing some settings in the PHP.ini file. Some just do not seem to take. Example ~ there's a …

0
146
Member Avatar for homeshow

Re: IIS & PHP Setup question-Configuring for multiple websites~ My server setup: Win2k, IIS5.0, PHP 4.0.10 running as ISAPI. Virtual servers (websites) each set up with individual IP addresses. In IIS, each site is individually set up to use PHP as opposed to having PHP set up at the top …

0
75
Member Avatar for Lexani

Im lost on how to install a forum on my website, my hosting offers it but i cant figure out how to get it on my site. it would be great if someone could help me gettin a forum on this site [url]www.Nexzani.com[/url] :cool:

Member Avatar for Lexani
0
273
Member Avatar for ashneet

Can anyone tell me where i can find better instructions for installiation of php on a Fedora 4 Linux as the ones that are provided on php.net are not very clear.

Member Avatar for ashneet
0
191
Member Avatar for Brims

Hiya all ive decided to do my final year project designing an online music video library that will allow multiple access by many users to the same files that will be highly available, with facilities to access the video library by pc, pda and mobile phones. i want to concentrate …

0
91
Member Avatar for StrikeFreedom

I'm doing an code the would list events entered by people and it's sorted by date, what I want it to do though is to list out only those who's starting dates haven't passed yet. How should I build the query? Could it be as simple as "SELECT * FROM …

Member Avatar for chrisbliss18
0
55
Member Avatar for stupidenator

Hi everyone, I am trying to make a php web page that displays images. Is there any way I can use php to look at what is in a certain folder(that only contains images) and then have it write html to display all the images from that folder on the …

Member Avatar for namit
0
127
Member Avatar for RamiroS

[B]Intro[/B] This is one of the fastest (and raw) ways to process form information from a web page. We assume that you have a form setup with Dreamweaver or a html editor. [B]Getting started[/B] In the $_POST global variable the results of a submitted from are stored (normally when someone …

Member Avatar for joekur
0
127
Member Avatar for Brims

Hiya this is Brims i need an idea for a final year project computer science, nothing too hard time is running out. I want to use either php or asp with database cant seem to think of any applications can someone help please :cry:

Member Avatar for Brims
0
168
Member Avatar for aarya

i want to break the word for example Health-and-Fitness:Weight-Loss i ant to break into two parts healt-and -fitness and weight-loss weathei have to use str_split. if i use it is not spliting any bodu please help me

Member Avatar for Lafinboy
0
164
Member Avatar for paradox814

I was wondering if any of you knew of any optimization techniques? Or any other sly tricks to help lay off constantly using the database.... A friend wants me to help design a high-traffic forum site (for her organization) and the only thing I can come up with is precaching …

Member Avatar for sarahk
0
83
Member Avatar for ! !

[indent][color=indigo]A complete rewrite of date handling code, with improved timezone support. Significant performance improvements compared to PHP 5.0.X. PDO extension is now enabled by default. Over 30 new functions in various extensions and built-in functionality. Bundled libraries, PCRE and SQLite upgraded to latest versions. Over 400 various bug fixes. PEAR …

0
97
Member Avatar for vjw757

Does anyone know how to create an indexing script for my torrent site [URL=http://Nettorrent.net]Nettorrent.net[/URL] .. i want the script to indexing other trackers so that the torrents show up in my database like what isohunt.com does

0
64
Member Avatar for aarya

i wanted to have forum in my site. is it possible to have forum using phbb.how ia hve to proceed. any body guide me?

Member Avatar for Lafinboy
0
54
Member Avatar for xStylezx

Hope this is the right forum.Ive having a problem with an error after trying to install Furl for invision. Ive tried alot of times and no matter how i do it i come up with this error.Ive edited in different php editors,and everything.Heres the error "Parse error: parse error, unexpected …

Member Avatar for Lafinboy
0
181
Member Avatar for StrikeFreedom

Hi I am developping a search script for my site and I'm stuck at one part. The script I did works fine but it looks for exact matches within the fields. For example if I type "John Smith" it would return all the rows with John Smith in them. But …

Member Avatar for StrikeFreedom
0
198
Member Avatar for go4kpo

I want to know how to make an odbc connection using php code. Please send suggestions. Thanks. [URL=http://www.go4kpo.com]http://www.go4kpo.com[/URL]

Member Avatar for PoA
0
109
Member Avatar for wisnuwiguna

hi... i'm new from indonesia....sorry if my english conf. not good enough. please help me how to make a calender with agenda view...please give me a logic and sample script. thanx :-|

Member Avatar for PoA
0
76
Member Avatar for Avalon

I have a new php in my site and there is a banner put on the top page that I would like to customize. How would I change this? There doesn't appear to be an option in the admistrative section, but I looked at the code and I can't find …

Member Avatar for PoA
0
189
Member Avatar for patti

Hi. I have spent almost a month learning and coding php forms. The code seems to work fine in testmode, but not in live mode! So I have 3 problems. Problem 1: the user has to submit twice to get the form to post. I view page source and action …

Member Avatar for patti
0
141
Member Avatar for ashneet

I made this function and the problem i have is that the Variavle $Time is not available to the whole program and what i mean by that is the function runs but doesn't set the variable to the whole thing and i have tested the function by doing echos. Is …

Member Avatar for sarahk
0
225
Member Avatar for TonyStarkz

Hey Everyone, I've been working on a PHP craps game, and I'm not sure why my code isn't working. Everything seems logical to me, but I can't get my inner loop to work. [b]The game of craps:[/b] 1) Roll a pair of die and add their some 2)IF on the …

Member Avatar for Lafinboy
0
344
Member Avatar for venetian_jigsaw

I am unable to get my pop-up to resize or hide the toolbar when I select a thumbnail. I entered the width & height in my onclick event, bu that did not seem to work. I am guessing that I probably need to enter the attributes in the function and …

Member Avatar for Lafinboy
0
582
Member Avatar for iketunde
Member Avatar for michael123

In php, is there a function like "wait()", the program executes to certain line and wait a moment(like 1 second) then proceed to next line? thanks.

Member Avatar for srikanth1243
0
78
Member Avatar for leprakhauns

Is there anyway to put PHP commands in a TPL file? When I read the source code for my page it is all put together, but I can't make it run the PHP code in the tpl file.

Member Avatar for PoA
0
96
Member Avatar for Xtothel

hi, i have a file that look something lk this: $name[0] = "blah"; $address[0]="blah"; $country[0] = "blah"; $name[1] = "blah"; $address[1]="blah"; $country[1] = "blah"; $name[2] = "blah"; $address[2]="blah"; $country[2] = "blah"; ....and so on, i want to sort the $name array in alphabetical order...but i don want to mess up …

Member Avatar for pulse
0
157
Member Avatar for ashneet

I made this code so that it can tell the program to get Morning (AM) or evening (PM) INFO [PHP] function Tms() { $time = time(); $time1 = mktime(12,00,00); if ($time > $time1) { $Time = 'AM'; } else { $Time = 'PM'; } echo $Time; echo "<br>"; echo $time; …

Member Avatar for ashneet
0
193
Member Avatar for opsryushi

Hi Everyone, I'm gonna try to make this as easy as possible to answer, but I've got some questions about this... I want to put a feature on my website where visitors can comment on an article or feature through a form by leaving their Name and then their Comments. …

Member Avatar for opsryushi
0
113
Member Avatar for ShadowBC

Hey people, hoping to find some answers here to a problem I'm stuck with. :sad: I have recently installed Windows server 2003 onto a machine and are trying to get a phpbb forum set up. I installed apache and the webserver is all working perfectly without any issues. THIS IS …

Member Avatar for Lightninghawk
0
64
Member Avatar for namit

I am using the mail function in php mail() but its keeps sending all the bounch backs to [email]nobody@purple.webhostingireland.ie[/email] and i want it to be [email]mail@somdomail.ie[/email] Any chance of changing this.

Member Avatar for namit
0
120
Member Avatar for namit

How do i use this str_replace with this [email]bla@bla.com[/email] [email]blac@bla.com[/email] [email]namit@namit.com[/email] and so on so i have setup $email = str_replace(" ", ", ", $mail_list); but it will only talk details if i do this [email]blac@bla.com[/email] [email]bla@bla.com[/email] It does not seam to find and replace return

Member Avatar for zippee
0
216
Member Avatar for heavychevy

Ok so I execute a query and am now holding a complete recordset. ($rs_cust) Now when i check if results are returned and whether I am able to loop through this: i.e. While ($row=odbc_Fetch_array($rs_cust)) {Do something} Now I'd like to have it do something else if there are no results …

Member Avatar for heavychevy
0
127
Member Avatar for hbmarar

hi, I have started programming (learning) to free myself from depencies.I do not know how to do the below. [COLOR=Navy]i made a form that has a input box for emai and two passord inputboxexs.on submit i have to pass the same email inputbox value as the hidden value for username.In …

Member Avatar for digital-ether
0
187
Member Avatar for hbmarar

hi really this issue is troubling: I exported the database structure using the phpmyadmin as harry.sql from my local system.now I went to company server/cpanel /mysql database.created a user with username and password. I would like to import this file and I tried the same way that I used to …

Member Avatar for hbmarar
0
235
Member Avatar for hbmarar

hi to all, Happy Dipawali wishes. I would like to show a form that asks for only email address and passswrd and on submission it assign to a hidden field for username as the email address submitted. Is this possible? i do not have any clue, hoping that if i …

Member Avatar for leelee
0
103
Member Avatar for textex

Hi all, I just start with my new forum use vbulletin, and I some help for coding / enlightment ... Usually we hide our links/codes/downloads using post counting from members ( ex: you must have 5 posting before can see our code etc). Now we want people to click the …

Member Avatar for Dani
0
326
Member Avatar for Xtothel

hi, i want to give a value to a variable when the surfer clicks on a link, i am not sure how to do that in php, also, i would like to pass on the value of that variable to a different page. can someone help me with the coding? …

Member Avatar for Xtothel
1
166
Member Avatar for tmatheson

Hi does anyone out there know of a good PHP script for doing screen scrapes. Ive heard of people using scripts like that to check a book on amazon with a script and a chron job service. Would appreciate any help or info anyone might have. [URL=http://www.webdesigninwisconsin.com]Chicago Web Design Company[/URL]

Member Avatar for tgreer
0
279
Member Avatar for michael123

I try to resize jpeg from photo size to thumbnails, however the thumbnails quality is bad, it looks fade and blur, I have no idea how to improve the quality of thumbnails. PHP resize function: ----- $first=imagecreatefromjpeg($uploadfile) $second=imagecreate($new_width, $new_height); imagecopyresized($second,$first,0,0,0,0,$new_width,$new_height,$width,$height); imagejpeg($second,$v_thumbnailfile); ----- Thanks for any response.

Member Avatar for RamiroS
0
140
Member Avatar for ashneet

I am using somone's code as example because i dont really understand it. This is a small part of the code which i am using as example. Here is the code: [PHP] class MySQLDB { var $connection; //The MySQL database connection var $num_active_users; //Number of active users viewing site var …

Member Avatar for Daishi
0
136
Member Avatar for ashneet

Hello Can someone explain this code to me as i am a total newb when it come to classes. [PHP] class MySQLDB { var $connection; //The MySQL database connection var $num_active_users; //Number of active users viewing site var $num_active_guests; //Number of active guests viewing site var $num_members; //Number of signed-up …

Member Avatar for ashneet
0
84
Member Avatar for NilovSerge

Help, please. I need edit programmatically(php) HTML-page so that, for example all table's definitions change on my own definitions of tables source: <table ... many props... > ... </table> destination : <table ... my props... > ... </table> And also I nees in result HTML leave some properties of the …

0
87
Member Avatar for Tina66

I just started learning php and would like to know how to create valid words using the letters "q w e r t y u i o p", which is the top row of the keyboard. I believe I need to use preg_match, yet not sure how to. Could some …

Member Avatar for srikanth1243
0
59
Member Avatar for ashneet

First of all i am new to PHP Session. THE PROBLEM: I do session_start(); command at the begening of every page so that php uses session but what i also what it to do is that if that person closes the browser and returns back to same website it should …

Member Avatar for ashneet
0
174

The End.