39,323 Topics
| |
Hello, Is it possible to write a php script and have it automatically excecute at a certain time everyday? I need to write a script that will do garbage collection on my database everyday. I do not have a whole lot of power over the hosting server and I can't … | |
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] :( | |
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 … | |
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 … | |
| 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?? |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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, … | |
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 … | |
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 … | |
| which way is the best to design multi-language web sites ? PHP/XML or PHP-MySQL ?? |
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 … | |
[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 … | |
<?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 … | |
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 … | |
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 … | |
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. | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.