Latest news from Xavier Media
It is currently Wed Mar 17, 2010 7:43 pm


  • Advertisement

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: php error please help
PostPosted: Mon Jun 22, 2009 6:35 am 
Offline
Newbie
Newbie

Joined: Mon Jun 22, 2009 5:54 am
Posts: 3
ok i made a script to add names and ids to a file i made called ( insert.php ) this insert file is aposed to add the info from col1 and col2 from the script below to the file called ( insert.php ) col1 would display the users name and col2 would display the users ( link ) to add them as a friend. now the file ( results.php ) is aposed to pull that info from the ( insert.php ) file and display it for every one to see by clicking on display all add me links. here is the script
........................................................................
<p><a target="_blank" href="find_id.jpg"><img border="0" alt="" width="794" height="70" src="find_id.jpg" /></a></p>
<form method="post" action="insert.php" target="_blank">
<div align="left">
<p><span class="style16"><span class="style17">.............</span>K.R CHAT NAME</span><strong>:</strong> <input size="50" name="col1" type="text" /> <br />
<span class="style16"><span class="style17">.............</span>Friend ID</span>:.............. <input size="90" name="col2" value="http://friends.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&amp;friendID=" type="text" /> <br />
.............................................................................. <input type="submit" value="Add My Account" /></p>
</p>
<!-- start section M generation --><!-- end section M generation -->
<p>
<tr>
</tr>
</p>
<table border="1" cellspac
PHP Code:
ing="0" cellpadding="0" width="800" bgcolor="#000000" align="center">
<tbody>
<tr>
<td valign="bottom">
<p>&nbsp;</p>
<form method="get" action="results.php" target="_blank">
<div align="left">
<p align="center"><input type="submit" value="Display All Add Me Links" /></p>
........................................................................
ok now i thought this might be the code i would use to popst and view the the info from those to collums but i keep gettin this error
........................................................................
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1024 bytes) in /www/110mb.com/k/i/l/l/e/r/c/r/killercrew/htdocs/insert.php on line 5
........................................................................
and this is the code i used to get that error
.......................................................................................................................
<?php include("insert.php");
include("results.php");
?>
<?php echo $_POST["col1"]; ?>
<?php echo $_POST["col2"]; ?>
<?php echo $_REQUEST["col1"]; ?>
<?php echo $_REQUEST["col2"]; ?>
Code:
this is a wrap


if anyone can tell me where i messed up and help me solve this i would be very greatful this is something i really need for my site


Top
 Profile E-mail  
 

Advertisement

 Post subject: Re: php error please help
PostPosted: Mon Jun 22, 2009 7:14 am 
Offline
XavierForum.com Admin
XavierForum.com Admin
User avatar

Joined: Tue Mar 15, 2005 4:37 pm
Posts: 872
Location: Sweden
It's hard to see anything in that code that could cause that error, in fact it's hard to see any code at all. Is that the exact code you've used on the page or is something missing?

/Bylla

_________________
Xavier Media®
PHP Password Protection | Get more Twitter followers


Top
 Profile  
 
 Post subject: Re: php error please help
PostPosted: Mon Jun 22, 2009 7:56 am 
Offline
Newbie
Newbie

Joined: Mon Jun 22, 2009 5:54 am
Posts: 3
bylla wrote:
It's hard to see anything in that code that could cause that error, in fact it's hard to see any code at all. Is that the exact code you've used on the page or is something missing?

/Bylla

yes thats the code i used if you need to see what im talking about go here http://killercrew.110mb.com/ go all the way to the bottom of the page and where it says to put your id just type any random #s and click add my account.

i want to link my insert.php to my results.php file the code i used for that was

<?php include("insert.php");
include("results.php");
?>
<?php echo $_POST["col1"]; ?>
<?php echo $_POST["col2"]; ?>
<?php echo $_REQUEST["col1"]; ?>
<?php echo $_REQUEST["col2"]; ?>
Code:
this is a wrap


but for some reason i get an error every time i try to post


Top
 Profile E-mail  
 
 Post subject: Re: php error please help
PostPosted: Mon Jun 22, 2009 7:58 am 
Offline
Newbie
Newbie

Joined: Mon Jun 22, 2009 5:54 am
Posts: 3
<p><a target="_blank" href="find_id.jpg"><img border="0" alt="" width="794" height="70" src="find_id.jpg" /></a></p>
<form method="post" action="insert.php" target="_blank">
<div align="left">
<p><span class="style16"><span class="style17">.............</span>K.R CHAT NAME</span><strong>:</strong> <input size="50" name="col1" type="text" /> <br />
<span class="style16"><span class="style17">.............</span>Friend ID</span>:.............. <input size="90" name="col2" value="http://friends.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&amp;friendID=" type="text" /> <br />
.............................................................................. <input type="submit" value="Add My Account" /></p>
</p>
<!-- start section M generation --><!-- end section M generation -->
<p>
<tr>
</tr>
</p>
<table border="1" cellspacing="0" cellpadding="0" width="800" bgcolor="#000000" align="center">
<tbody>
<tr>
<td valign="bottom">
<p>&nbsp;</p>
<form method="get" action="results.php" target="_blank">
<div align="left">
<p align="center"><input type="submit" value="Display All Add Me Links" /></p>


thats my http for it if i can just get it to post the info from col1 and col2 i can do the rest np


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
Learn how to get thousands of Twitter followers

Credit Consolidation | Insurance Quotes | Advertising | Free Animated Greetings | Child Support Explained

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]