Dynadot โ€” .com Transfer

I'm bored, so - request a script!

Spacemail by SpaceshipSpacemail by Spaceship
Watch

Barrucadu

Established Member
Impact
64
Well i'm very bored and was thinking about how I could make money with scripts - then I realized that i'm not even particularly good at coding, I just seem it because nobody else I know (in RL) is.

So in a desperate attempt to better my scripting skills, if you ask me for a script i'll try to make it for you. PHP only.

PHP:
if($you == 'Need A Script'){
     PostHere();
}

:)
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
yh i dont know why since i uploaded the files without changing them and thats the error i got, what php version are you using.
 
0
•••
I have got a simple one for you.. I have made them but they dont work

A forum for my sabreschat website that includes
Name:
Countrythis would be a drop down menu)
Statedrop down again)
E-mail:
Subjectthis would be a drop down menu)
Body:

I would like it so i can customize the different things

Also can you not make it in Global Variables since I have had major problems with those in the past

Also I would like to have Name/Email Validated.
One more thing.. Is it possible for spam proof?

Message me if you have any questions.
 
0
•••
NetworkTown.Net said:
yh i dont know why since i uploaded the files without changing them and thats the error i got, what php version are you using.

i'm using php5.

-----no more scripts from now on-----
 
0
•••
Mikor said:
i'm using php5.

-----no more scripts from now on-----

Well im using php4 on my server and i have php5 on my localhost (pc) i tested it on both they dont work. Any suggestions?
 
0
•••
It works perfectly on my php4 server and on my php5 localhost, so I have absoloutly no idea why it wont work.

Also, there isnt a mysql_real_escape_string() on line 6, so I dont know why its giving you that
 
0
•••
well i checked the file that the script stores the info in and it dose insert it in but without the data from the form its all blank where the form data is ment to be.
 
0
•••
NetworkTown.Net, you didn't set up the MySQL connection details correctly. It is saying access denied for nobody@localhost..

That's also why you get the mysql_real... errors.
 
0
•••
But there is nothing to set in the files, and it dont need mysql since it is not going to insert it into the Db its going to put it in a file. Dan download the file and you might understand what i mean.
 
0
•••
Connect to a random database- this should stop all the errors.
Code:
$link = mysql_connect($host, $username, $password)or die;
$db   = mysql_select_db($database, $link) or die;
 
0
•••
But i dont understand why dose it need that when it is not going to need the DB?

Well Dan i added what you gave me and it worked ;) but im a bit confused about why it needs to connect.
 
0
•••
To use the function mysql_real_escape_string, you need to be connected to a database.

Code:
mysql_real_escape_string:

mysql_real_escape_string ( string unescaped_string [, resource link_identifier] )

...

Parameters

...

link_identifier
    The MySQL connection. If the link identifier is not specified, 
    the last link opened by mysql_connect() is assumed. If no such 
    link is found, it will try to create one as if mysql_connect() was 
    called with no arguments. If by chance no connection is found 
    or established, an E_WARNING level warning is generated.
 
0
•••
Well any way it worked ;) just one prob left when it it inserted into the .sql file with the data the script also counts the submit button as a feild and add's that in, which is not ment to happen.
 
0
•••
Remove name="whatever" from the submit button.
Code:
<!-- Good: -->
<input type="submit" value="Submit" />
<input type="submit" value="Submit">

<!-- Bad:  -->
<input type="submit" name="submit" value="Submit" />
<input type="submit" name="submit" value="Submit">
 
1
•••
Thanks all working now!
 
0
•••
are you any good with working with paypal? I need a script that allows users to buy something and send them an email with some values. Can this be done?

This is the process I have atm.

First they choose a product. At this point I get some hardware values and encrypt them (using VB6) they then selct version,write their name,email and buy the product. What I need done is that on success page I get the encrypted harware ID and also the selcted verion and send them their unique serial number.


Can it be done?
 
0
•••
0
•••
ohh, sorry, I saw code on the posts before me so i though it's still going.

Thanks for the link. I'll chck it out
 
0
•••
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back