Get support from Xavier Media
It is currently Sun Dec 08, 2013 12:14 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: php error please help
PostPosted: Mon Jun 22, 2009 6:35 am 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Mon Jun 22, 2009 5:54 am
Posts: 3
Points: 0
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


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
 Post subject: Re: php error please help
PostPosted: Mon Jun 22, 2009 7:14 am 
Offline
XavierForum.com Admin
XavierForum.com Admin
Super VIP Member
Super VIP Member
User avatar

Joined: Tue Mar 15, 2005 4:37 pm
Posts: 1082
Location: Sweden
Points: 1500
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®
Join me at LinkedIn | Get your latest blog post in your signature you too


Report this post
Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: php error please help
PostPosted: Mon Jun 22, 2009 7:56 am 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Mon Jun 22, 2009 5:54 am
Posts: 3
Points: 0
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


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
 Post subject: Re: php error please help
PostPosted: Mon Jun 22, 2009 7:58 am 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Mon Jun 22, 2009 5:54 am
Posts: 3
Points: 0
<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


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
 Post subject: Re: php error please help
PostPosted: Thu May 12, 2011 8:16 am 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Thu May 12, 2011 6:50 am
Posts: 6
Points: 0
what is the error when you run it?


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
 Post subject: php error please help
PostPosted: Fri Jul 22, 2011 7:03 pm 
Offline
Rookie (I'm probably spamming)
Rookie (I'm probably spamming)

Joined: Tue Jun 07, 2011 1:04 pm
Posts: 3
Location: United Kingdom
Points: 30
Did you accidentally add some text to the post_process_code field of the form? Youd better leave it empty its meant for php code.
If you want to know the possibilities of this field search this forum with post process code.


Report this post
Top
 Profile Send private message E-mail  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Registered users: No registered users


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

Search for:
Jump to:  

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