Tag: Php Scripts
I’m installing a script called “Simple Member” on my subdomain on awardspace.com, I don’t know how to do the MYSQL things.
Here’s the config part:
#########################################################
# Simple Member #
#########################################################
# #
# Created by: Doni Ronquillo #
# #
# This script and all included functions, images, #
# and documentation are copyright 2003 #
# free-php.net (http://free-php.net) unless #
# otherwise stated in the module. #
# #
# Any copying, distribution, modification with #
# intent to distribute as new code will result #
# in immediate loss of your rights to use this #
# program as well as possible legal action. #
# #
#########################################################
define("SCRIPTNAME","Simple Member");
define("BASEHREF","http://www.free-php.net/demo/SimpleMember");
define("DOMAIN","localhost");
define("FROMEMAIL","drunkenmenace@gmail.com");
define("SITENAME","Free-Php.net");
define("INC_DIR","/home/www/codemunkyx/www/www.free-php.net/htdocs/demo/SimpleMember/inc/");
define("PAG_DIR",INC_DIR."pages/");
define("INC_DB",INC_DIR."db.php");
define("MYSQLUSER",""); // mysql username
define("MYSQLPASS",""); // mysql password
define("MYSQLDB",""); // mysql database name
require(INC_DB);
?>
My host is awardspace.com, my username is annryll6696, my MYSQL username and DB is annryll6696_4ev
Can you show me how the script is supposed to look with all my info in it?
Email me for more info or to tell me:
annryll@aol.com
[edit]
Yahoo messes up the code, plz email me! annryll@aol.com
[/edit]
I would really appreciate if you could recommend any simple tutorials that I can follow to test my php scripts. I want something like PHP Unit Test. Thank you.
I have wamp and the script are running perfect. Maybe was misunderstood.Here is an example of what I meant, but didn’t get it. I need to show after runing a code that the script passed the test or failed.
http://www.lastcraft.com/first_test_tutorial.php
I want to run few PHP scripts at some particular time. Usually the scripts run when they are called by client browser, but what can I do to have them automatically run at a particular time say 7:00pm everyday.
Or is it the work of Apache server to do, that if we show it the script and tell it the time, it would automatically run it at that time.
I am looking for a php script where I can upload videos for others to stream (the main thing) and download. I would also like to be able to allow others to upload too.
Thanks.
oh and no size or video length limit
Well, do you guys know of any simple PHP scripts that I can look and study from?
OK guys, I don’t want a tutrials or anything. I just want to know if anyone knows any SIMPLE PHP script that I can study from.. Like look at it’s source and learn from that. I’ve read a WHOLE bunch of PHP tutorials.. It’s still I’ve been told that I can learn more if I just look at the codes in action…
I often see webpages with a .php?something
How can I write a script so that whatever “something” is can be accessed by the script? Is there also a way to access an external dat or txt file with a php script?
function like ebay.means seller will list.buyers will search and then see description and then buy it and all that.










