24, July 2008

CGI help - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  WebDigity Community  >  User Forums  >  3rd-Party Scripting  >  CGI/Perl (Moderator: Meth0d)
Topic: CGI help
« previous next »
Pages: [1] Print

Author Topic: CGI help  (Read 1139 times)
WebDigity Gangsta
***
Gender: Male
Posts: 105
18 credits
Members referred : 0



« on: Sep 08, 2006, 07:20:55 PM »

Well, i know a lot of you have got CGI proxys running.
I have one and i wanted to know how to edit the cgi script and so that i can ad popups to every page they view. When i edit the cgi script it doesnt work :S
  What do i do?
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7974
40801 credits
Members referred : 3



« Reply #1 on: Sep 08, 2006, 07:24:09 PM »

Hmm, this is around the line 5680 of the script.

There is a <form> which is the mini form that users use to browse sites. In that fragment you should add the code for the popup.

Hope that helps Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
WebDigity Gangsta
***
Gender: Male
Posts: 105
18 credits
Members referred : 0



« Reply #2 on: Sep 08, 2006, 08:12:27 PM »

Ok i found the <form> thing on line 6750. But when i add the adversal code and upload it when i try going on a site it loads a blank screen. When i upload the original it works.
« Last Edit: Sep 08, 2006, 08:52:56 PM by J n b »
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7974
40801 credits
Members referred : 3



« Reply #3 on: Sep 09, 2006, 11:33:07 AM »

Maybe you do something wrong with the " symbols?

You must replace " with \"

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
WebDigity Gangsta
***
Gender: Male
Posts: 105
18 credits
Members referred : 0



« Reply #4 on: Sep 10, 2006, 05:18:47 PM »

I tryed that but it didn't work. Could you post an example from your cgi script please?
Sorry i just really dont get it =\
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7974
40801 credits
Members referred : 3



« Reply #5 on: Sep 10, 2006, 06:03:13 PM »

I will check it later and post it (I am out of office now)

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
WebDigity Gangsta
***
Gender: Male
Posts: 105
18 credits
Members referred : 0



« Reply #6 on: Sep 10, 2006, 06:06:55 PM »

kk thanks. BTW i thought you worked from home?
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7974
40801 credits
Members referred : 3



« Reply #7 on: Sep 10, 2006, 06:09:40 PM »

No I have an office, and also working for another company too Smiley (but I am going to leave soon...)


Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
WebDigity Gangsta
***
Gender: Male
Posts: 105
18 credits
Members referred : 0



« Reply #8 on: Sep 10, 2006, 06:10:18 PM »

This is work? Lol lucky thing. I should stop distracting you probly Tongue
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7974
40801 credits
Members referred : 3



« Reply #9 on: Sep 11, 2006, 01:11:33 PM »

I think I can't help you with this further, as my script is modified a lot at this part.

Anyway the only thing you have to do is to add the popup code in the area of the <FORM>

As you will see all the echoed " characters are represented with this symbol : \"

This is common for all scripting languages as the " indicates a string open/close. So inside the string  you should represent " with \"

This is an example :

Code:
<?php
 
echo "My name is \"Nick\".";
?>


This will output :

My name is "Nick"

Hope that helped Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=4009
Tags : pop up Adversal Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  WebDigity Community  >  User Forums  >  3rd-Party Scripting  >  CGI/Perl (Moderator: Meth0d)
Topic: CGI help
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 24, 2008, 11:26:30 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.712
Total Topics: 7.376
Total Members: 3.706
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: FortuneBeach

33 Guests, 3 Users online :

12 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.