39,402 Topics

Member Avatar for
Member Avatar for Skeletor

Since I installed PHP 5, I am getting this error 500 from the browser any time I try to run my PHP application. Curiously enough, the first time I ran it, it ran fine, but never more. [B]Has anybody any idea of what's going on?[/B] :(

Member Avatar for fatihpiristine
0
44
Member Avatar for tanha

Hello every body, I made an image gallery, but the photos displaying repeatedly in each row, I want the seven pictures displaying in each row of the table, then starts from the other row and same for others, the attachment pictures show the problems, what should I do? [CODE] <?php …

Member Avatar for tanha
0
552
Member Avatar for somedude3488

Hello everyone, I got really bored yesterday and made a php chat program during 2nd and 6th hour at school. Its very basic and I wanted to know what features should be added. This was made to talk to friends during school so I don't want to make it really …

Member Avatar for fatihpiristine
0
114
Member Avatar for fatihpiristine

I have been working on my web site almost a year.. i decided to turn it onto open-source, I meant registered users would be allowed to change page codes. without uploading the files to ftp. how can i do these??

Member Avatar for fatihpiristine
0
91
Member Avatar for MyBohoBaby

I am trying to change the index.php file on OsCommerce <the text on the front page>.... Its giving me this error message... Error: I can not write to this file. Please set the right user permissions on: /home/mybohoba/public_html/osCommerce/catalog/includes/languages/english/index.php What am I doing wrong?? This is soo irritating.. ROFL Any help …

Member Avatar for highvisualprodu
0
144
Member Avatar for djwakko18

I have this code and when i try run it i got a menssage"PHP Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\bla bla bla.......... on line 15 i will thankfull if anybody can help me ------------ [code=php]<?php session_start(); if ($userid && $password) { // si …

Member Avatar for johny_d
0
132
Member Avatar for Venom Rush

Hi there I started a thread about this in the MySQL forum about this ([url]http://www.daniweb.com/forums/thread93312.html)[/url]. Basically I don't know what my db table design should be like in order for me to sort the dates from most current to latest date. The format is as follows: DD Month YYYY eg(05 …

Member Avatar for Venom Rush
0
79
Member Avatar for nickw

I'm working on a project (lord knows why, I'm a below average coder) where I need to identify a phone number and its country code and national code to obtain the billing info.. I have been able to obtain the the country code without problems, but I'm having problems getting …

Member Avatar for nickw
0
386
Member Avatar for ztwalsh

I am developing a website where users can ad entries to a database. I am using phpMyAdmin to create the database. It works perfectly on my local testing environment, but when I upload it to my remote server it doesn't. I have used my hosting company's (GoDaddy) version of phpMyAdmin …

Member Avatar for somedude3488
0
135
Member Avatar for StrikeFreedom

Hi I'm tying to get php to calculate someone's age from that person's birthday, for example 1985-04-11 the age would be 20 anyone can tell me how I could do that? Thanks!

Member Avatar for carlosdavis
0
197
Member Avatar for Holy_Assassin

Hello everyone! I've been thinking to design a web-based database (in DB2 and PHP) for my father's company, but I need some help because I don't know where to start. Details: [LIST] [*]The database will be used to store Microsoft Office's files (Word, Excel, Powerpoint, Publisher) and Adobe files (Indesign, …

Member Avatar for fatihpiristine
0
54
Member Avatar for cvbayot

i'm doing a web based application that has a feature of sending sms messages. the process: when a costumer send a text message to the system, the system will send the same message to the assigned consultant. if the consultant didn't reply within 15 mins., the system will send the …

Member Avatar for fatihpiristine
0
83
Member Avatar for suren66

hi I have windows vista home basic runing on my pc , i've installed apache 2.2 and php 5.2.4 , i've added all the needed lines to httpd.config and restarted the apache , it's all fine and am not facing any error . but when I test it with the …

Member Avatar for fatihpiristine
0
137
Member Avatar for fatihpiristine
Member Avatar for fatihpiristine
0
54
Member Avatar for ndeniche

i've seen various threads about this same problem (at least i'm not the only one:D), but the most recent post is from 2006, so i wouldn't like to revive a long dead thread... :P i've installed Apache 2.2.4, and PHP 5.2.3 for Windows 32 i'm working on Windows XP... my …

Member Avatar for suren66
0
147
Member Avatar for vb28

[code]<script language="javascript"> document.writeln(document.location); </script>[/code] hi the above code display the url of the page that is load on, but i was wondering do you guys know of way to display traget windows url for example <form action="action.php" target="actionwindow"> this will open a new window with the hidden name actionwindow but …

Member Avatar for nickw
0
116
Member Avatar for tryphy

<?php $conn = mysql_connect("localhost", "root", "general"); mysql_select_db("cms"); $result = mysql_query("SELECT * FROM Category"); echo "<table width='400' border='1' cellpadding ='3' cellspacing ='4' bordercolor='#45310F' fontcolor=#FFFFFF>"; //$cimage = while($take = mysql_fetch_array($result)) { echo"<tr><tr>"; echo "<tr><td>"; print $take."<br>"; echo "</td><td>"; print $take."<br>"; echo "</td></td>"; echo "<t6><td>"; echo $take."<br>"; echo "</td></tr></tr>"; echo "<tr><tr>"; } echo …

Member Avatar for Venom Rush
0
104
Member Avatar for fernandodonster

I would like to take back of my database of postgress. now i am doing the command "pg_dumb " which written in a shell script and run it on command promt How it will do with PHP? Can i use that shell script in the PHP? Is there any need …

Member Avatar for fernandodonster
0
176
Member Avatar for dgs010243

I have this website: [url]http://dan.somnea.free.fr/CH[/url] It contains a lot of info about php, xml, java, javascript and so on. In the home page there is an applet. All the other pages are in PHP. My question: Is there a PHP source code solution to be added into the website (not …

0
46
Member Avatar for thunderbbolt

How can I let the user chose how many results they want displayed on a page? For instance they should be able to specify if they want 11, 20, 233 or something to that effect.

Member Avatar for thunderbbolt
0
70
Member Avatar for thunderbbolt

Is there a way to limit how many words you can use in text area? I have searched the internet and have only found ways you can do it javascript not PHP.

Member Avatar for hollystyles
0
70
Member Avatar for ajay_tabbu

hello friends, I am working with stored procedure in my sql.I m traying to call SP in php but i fail to do that. I have already configer mysqli.dll file in php. but still i m gating error :[B]Fatal error[/B]: Call to undefined function mysqli_connect() in [B]C:\Employees\Ajay\SP\test.php[/B] on line [B]4 …

Member Avatar for ajay_tabbu
0
173
Member Avatar for apwade

I am trying to redirect a directory and all pages e.g. /shops/merchant1.htm to a generic file generic.htm using htaccess, does any have any ideas how to do this? Also the generic.htm contains php. I currently have hundreds of shops each with its own htm page, but i really want one …

Member Avatar for RoryGren
0
108
Member Avatar for dudegio

Hello guys! Does anyone knows an open source technology in PHP that can be modified in which it has the same capability with the google book. It has a searching capability and displays the content online either in pdf, pps, xls, or .doc format. Please help me locating it if …

0
108
Member Avatar for harishankar

It uses a very simple PHP script to use text files as articles and directories as categories to build a website. It's a very simple CMS and uses no database to store anything. It doesn't have comments or search, but it is a good solution for a fairly static, traditional …

Member Avatar for ItalicVisions
0
180
Member Avatar for tangolik

Hi all, in my website there are ftp-uploaded images (about 3000) in a folder called IMAGE. What I want to do is somehow get the image file names inserted in to my database so, I can see image file names in a pull down menu selection when I insert records …

Member Avatar for trudge
0
136
Member Avatar for jglw

I'm trying to get some post data formatted for output on a browser and I can't use pre tags becuase the width attribute isn't supported anymore and it doesn't really work. I also need to break up a word if it's over 80 characters long, if someone's been a pillock …

Member Avatar for somedude3488
0
118
Member Avatar for fogofogo

Hello All, I have a page that passes a session variable to another page which is then used in an if/else statement. For some reason itsa giving me error messages, and I'm not sure whats up with it. Heres the page that creates the variable [CODE]<?php session_start(); // start session …

Member Avatar for vigin
0
104
Member Avatar for gil857

Howdy all, I'm making an authentication script using sessions variables, but the varible seems to disappear when trying to access it from another page. A simple form on the home page takes a user name and password, it then goes to an authentication page. The authenticate page is making a …

Member Avatar for gil857
0
532
Member Avatar for Pro2000

[COLOR=red]Hello everybody;[/COLOR] [COLOR=red]I want to color a text gradually by PHP[/COLOR] [COLOR=red][/COLOR] [COLOR=red]Explain: I want to color each letter with a color, like:[/COLOR] [COLOR=red][/COLOR] [COLOR=red]Hello: H=green e=red l=blue (And repeat) l=green o=red[/COLOR]

Member Avatar for somedude3488
0
94
Member Avatar for timbredemeyer

I am desperate for some password protection that accesses a database for user name and password. i have searched all over the web and cannot find one that actualy works. i need to redirect to a users personal internal page on my website after the password checks out as well. …

Member Avatar for StatiX
0
83
Member Avatar for Silo45

OK so here is what i wanna do. I been researching for a while but i didnt find the answer maybe you guys could help me out a little. I wanna create a xml table from a MySQL data base query using something like this: [code=PHP] $file= fopen("results.xml", "w"); $_xml …

Member Avatar for Silo45
0
112
Member Avatar for kmachstang

I was hoping to throw what I am trying to do out there to see if anyone could give me the best way of handling it. Basically, I have a custom pdf viewer that converts the desired page of the pdf to a jpeg on the server and then sends …

Member Avatar for fatihpiristine
0
104
Member Avatar for monkeywright

This one's killing me - I'm trying to implement multiple polls on one page based on Fpoll PHP. If you look at [url]http://rocklineradio.com/Fpoll/poll.php[/url], you'll see the poll displaying properly, with a colored bar and percentage indicating who's winning. If you look at [url]http://rocklineradio.com/TESTER.php[/url], you'll see two polls side by side. …

0
80
Member Avatar for roopeshnp

there is a combo box in my form.when i am selecting an item in the combo 1 contrl(textbox) to be diplayed.when i am selecting other item in the combo textbox to be disappeared. i dont want to refresh the page can any one help me

Member Avatar for fatihpiristine
0
43
Member Avatar for Yashua

I wish to create an inventory database with the following: 1. When an item is checkmarked and the submit button is pressed that item is deducted from the mySQL Inventory portion. By default only 1 is deducted per item, but if they add to the Quantity they wish to order …

0
35
Member Avatar for ezb

I have two slight problems I simply cant find an answer to anywhere, the first, only small. I have my database printing out items from a database into a select box, this is giving me blank options even though there are none in the database, I remember having this problem …

Member Avatar for Yashua
0
228
Member Avatar for elangobala

Hi, Friends In some websites i have seen that in a website called mginger.com in that invite tab when i keep a mouse over the Text field in the right hand side of it shows that please enter the name in a layer .It looks very nice .My friend says …

Member Avatar for Shaffer
0
83
Member Avatar for rime

I have written the following code to retrieve image from mysql database: <?php include('dbinfo.inc.php'); include('../functions.php'); mysql_connect("localhost","username","password") or die("Failure to communicate"); mysql_select_db("db") or die("Could not connect to Database"); $query = "SELECT content,size,type FROM upload WHERE id=1;"; $result=mysql_query($query); mysql_close(); $content=mysql_result($result,0,"content"); $size=mysql_result($result,0,"size"); $type=mysql_result($result,0,"type"); header('Content-Type: '.$type); print $content; ?> It is working.. Now I …

Member Avatar for ryan_vietnow
0
131
Member Avatar for roy--

Hello, I've been trying to send html emails via the mail() function. I tried different combinations of headers configurations. and spent hours and hours on this with no luck. All I get is plain text, as if i did not define the headers. headers would be displayed in the message …

Member Avatar for ShawnCplus
0
139
Member Avatar for Shygirl

[code=language] <?php $username="151296"; $password="******"; $database="151296"; mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $last = $_COOKIE['ID_my_site']; SELECT 'Wing' FROM 'users' WHERE 'username' =$last; $CC1 = ['CC1']; $amount1 = $_POST['amount1']; $total = $CC1 + $amount1; $UPDATE FROM 'users' WHERE 'username' = $last SET `CC1` = 'CC1'+ '$amount1'; ("Location: arming.php"); } ?> …

Member Avatar for fatihpiristine
0
119
Member Avatar for vyadagiri
Member Avatar for stymiee
0
64
Member Avatar for ep2002

Hi all, I hope everyone is well. :) Ok, I don't know how to explain this properly, so I'll just struggle along & if you need anything clarified, please ask. First, I'd like a quote from only very experienced MySQL/PHP programmers on how much this appl. will cost to build. …

Member Avatar for ep2002
0
188
Member Avatar for cancer10

Hello, If you have used phpmyadmin, you might have noticed while creating a table there are few optional fields asked by phpmyadmin along with the table name like tablename | Datatype | Length | [B]Default[/B] etc etc Not my question is how do you make use of this [B]Default[/B] field? …

0
48
Member Avatar for ashkan3030

Dear pro web developers, This is a basic web developer and wanna you to help me. I want to make Forum site on my LAN what should I do and what should I use? I see the most forum site which are exactly the same with the same template,are they …

Member Avatar for jbennet
0
279
Member Avatar for jpl80

What is the best way to submit sensitive data (social security, driver's license, etc.) over the internet. I also need to store it in a database where an administrator could access the info. I may be looking at either open-source solutions or outsourcing this to a company to limit my …

Member Avatar for world_weapon
0
79
Member Avatar for 0123456789

please forms from oracle with php insert,delete,search ya tengo el formulario de mostrar registros[ select ] ..... Alguna persona que tenga formularios ya mencionados que lo comparta para ver como va el codigo en esos formularios ......... muchas gracias por su atencion .........

Member Avatar for debasisdas
0
56
Member Avatar for world_weapon

Hello Everyone, I was trying to figure out why this particular mysql_query() doesn't return false and how to deal with it. First of all, I have a table (call it table1) with only one row in it. The one row has a 2 in the user_id column. So when I …

Member Avatar for world_weapon
0
147
Member Avatar for thunderbbolt

I am trying to get this program login to work with sessions. I don't know what I am doing wrong, but part of my code is displaying on the page instead of just my login form. Here is my code [code] <?php session_start(); $_SESSION['name']= "test4"; define('DBSERVER', 'localhost'); define('DATABASE', 'dbname'); define('USER', …

Member Avatar for thunderbbolt
0
130
Member Avatar for Pro2000

Hi guys, I wrote: [CODE] <?php $WACnt=33; while($WACnt>=0) { require("Wordsarray.php"); $enn=preg_replace("/".$normal[$WACnt]."/i",$tidied[$WACnt],$enn); $WACnt--; } ?> [/CODE] The browser said: [B][QUOTE][B]Warning[/B]: Unknown modifier 'g' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Compilation failed: nothing to repeat at offset 0 in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Unknown modifier 'b' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] …

Member Avatar for Pro2000
0
195

The End.