Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. WebStuck

    Get Page URL

    I actually got it working last night by adding some information to the query string of the url calling ads.php. Thanks! Ben
  2. WebStuck

    Get Page URL

    The ads aren't displayed in an iframe. Let me try to give an example of the problem I am having. I have the OpenAds javascript code on http://www.test1.com/index.html. The javascript code calls http://www.test2.com/ads.php which calls my ad code that contains php code that has $current_url =...
  3. WebStuck

    Get Page URL

    Hi, I am running OpenAds (formerly phpAdsNew) on one domain to display ads on another domain. My problem is that my 'banner code' in OpenAds uses php code that attempts to get the URL from the page where the ad is displayed. However, it keeps trying to grab the URL from the .php file that the...
  4. WebStuck

    Variable Not Working in Included File

    First of all, I meant to thank everybody for their help by saying thanks all for your help but accidentally typed thanks for all your help, but I still meant thanks to everybody for helping. Unfortunately, I didn't quite understand what you meant and couldn't figure it out until vacunita gave...
  5. WebStuck

    Variable Not Working in Included File

    Great! It is working now. Thanks for all your help! Ben
  6. WebStuck

    Variable Not Working in Included File

    Ok...so how do I make comments_form.php aware of my page_id declaration?
  7. WebStuck

    Variable Not Working in Included File

    I don't think you understand what I am asking. I have a web page with the following code: <?php $page_id = 2; include("http://". $_SERVER['SERVER_NAME']. "/comments/comments_form.php"); ?> The comments_form.php contains a php script. When I put echo "Page id is $page_id" within the...
  8. WebStuck

    Variable Not Working in Included File

    jpadie, I'm not sure what you mean. The include line is working fine. The only problem is that I can't reference the $page_id variable within the comments_form.php file. Thanks! Ben
  9. WebStuck

    Variable Not Working in Included File

    Hi, I have a web page with the following code: $page_id = 2; include("http://". $_SERVER['SERVER_NAME']. "/comments/comments_form.php"); I need the included file, comments_form.php, to be able to use the $page_id variable but it doesn't seem to be able to for some reason. Thanks! Ben
  10. WebStuck

    Cron Job Email Subject

    I didn't put anything in the cron job to tell it to send me an email. It just automatically sends me an email when the cron job is done running.
  11. WebStuck

    Cron Job Email Subject

    I have the following example cron job set up through cpanel: /path_to_script/script.cgi When the cron job finishes running, I get an email with the output from the script. The email's subject line is, "/path_to_script/script.cgi". I was wondering if there was something I could put in the...
  12. WebStuck

    WPA Wireless Network with File Sharing

    One Windows xp computer has the same problem of only being able to see and access itself. The other Windows xp computer can only see but no longer access the workgroup. Any ideas?
  13. WebStuck

    WPA Wireless Network with File Sharing

    Ok...I set up Netbios over TCP/IP and bound it to file sharing (even though I have heard many times that this a less secure way of doing it) and I have the exact same problem. Any ideas? Thanks! Ben
  14. WebStuck

    WPA Wireless Network with File Sharing

    Well, my Windows 98 computers are part of a wired network so I don't have to worry about them not being able to work with WPA. I had IPX/SPX/NetBIOS file-sharing working when using WEP security. The reason I have not been using Netbios over TCP/IP is because I have heard and read that it is...
  15. WebStuck

    TCP/IP Version 6

    Ok....Thanks for your help!
  16. WebStuck

    TCP/IP Version 6

    Hi, I was noticing that there is a TCP/IP version 6 protocol that can be installed instead of the older TCP/IP version that my computer is currently using. I was wondering if there is any reason not to use the new version. If not then I could use some help on how to go about using it...
  17. WebStuck

    WPA Wireless Network with File Sharing

    Hi, I have 4 computers (2 Windows XP and 2 Windows 98) on a wireless network. I use IPX/SPX for file sharing across my home network. I had been using 128 bit WEP security for my wireless network. I had read that WPA security was better. So, I switched to WPA security, but then started...
  18. WebStuck

    Replace script code

    The code at the bottom of the page is gotten from another company, which is not allowed to be changed. However, the company has given me 2 different versions of the code, neither which are allowed to be changed, but the difference between the 2 codes is just 1 line. So, I am trying to use the...
  19. WebStuck

    Replace script code

    Let me recap what I want since I made an error in what I said in one of my posts: I want a script at the top of a html page that can change a line in a script at the bottom of the page. The problem I think is that the top script can't change the bottom script code after the bottom script has...

Part and Inventory Search

Back
Top