Jump to content

RyanSmith345

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

About RyanSmith345

  • Birthday 05/14/1981

Contact Methods

  • Website URL
    http://www.DynamicAJAX.com

Profile Information

  • Gender
    Male
  • Location
    Fort Collins, CO

RyanSmith345's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. You may need to setup SPF records for your email account on the server so Hotmail doesn't view them as spam. I can't remeber off the top of my head how to accomplish this, but if you do a simple search for "Email SPF", I'm sure you'll find the answer.  From what I remeber, it was really easy to setup.
  2. do a SELECT count(*) FROM users_table WHERE user_name =  . $_POST['username'] I like to do the check with AJAX also on the user name text field blur event so you can inform them before they fill out the rest of the form.
  3. Unbeliveable! These forums are great.  Thanks for all your help. That would have taken me forever to figure out.
  4. This is working the way I want it, however I have run into another issue.  I want to append this code to PDF requests as well so I can track the so I added the following to the httpd.config file: AddType application/x-httpd-php .pdf This works as expected, however PHP chokes when it tries to process the PDF file. Is there a way to tell PHP to stop processing the file after a certain point and just output the rest like normal HTML? Thanks.
  5. EXCELLENT!  I think this is exactly what I was looking for.  Thanks.
  6. Can't you just embed the SWF file in index.php, or are you trying to create a popup.
  7. Ya, your looking for JavaScript: if(confirm('Are you sure you want to do this?')) {   document.getElementById('myForm').submit(); } Looks like it won't let me insert the script around this, but you get the jist
  8. I think I actually have the source code for Webalizer, but I HATE C++.  If I have to write it in C++, I'll probably not do it at all. I'm actually very excited for the new IIS 7 in vista to come out.  It looks like it is going to be extreamly easy to code up extensions.  Too bad I'll still be supporting all of these legacy 2000 boxes we have around.
  9. Funny, I have had that exact suggestion from WebTrends before. That's the issue is I really need to be able to track on every web request, and JavaScript is a poor solution to statistics gathering as there are just too many people out there with JS diabled, Spiders, Mobile Devices, the list goes on and on. I'm starting to think the way to go is to create an ISAPI filter for IIS and an Apache Module that you can simply plugin.  Unfortunally, I don't know how to code either of those off the top of my head so that could be some serious research time. Regardless, I would still like to know if this is possible with PHP and hear any other possible solutions that people might have. Thanks for your suggestion.
  10. For example, in ASP.NET, you have a file called Global.asax.  There are several methods in this file that get called on certain actions. Application_Start Session_Start and the big one that I'm interested in is Begin_Request - this gets fired everytime a request comes in, well at least a reqeust that will be processed with the ASP.NET worker process. What I'm looking to do is build a stats tracer.  With the method above, I can assign PDF's and other files that don't execute any server side code to be processed with ASP.NET and this event will get fired on every web request.  That way I can track statistics for every file, not just PHP page requests.
  11. Hello PHP communtiy. I know that I have found the answer to this before, but I need to figure out how to make a PHP call on every webserver request.  I can do this in ASP/ASP.NET with the Begin_Request method in the Global.asa How can I accomplish this in PHP. Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.