Jump to content

Azu

Members
  • Posts

    1,047
  • Joined

  • Last visited

    Never

Posts posted by Azu

  1. I want to create a user mail sytem like google and yahoo , where users sign up to a free account and have to visit the site to see the mail.

     

    Anyone know what program/script yahoo is using ?

     

    If not where would I start , anyone know of a Opensource program where I could build this off of?

    They are using their own "program/script", and I doubt they will just hand it over to you (unless you pay them a HUGE amount of money).

     

    I wouldn't be surprised if they wanted at least a few million dollars for it.

     

     

    Just like Google is not going to just hand over their source code lightly. Neither would Microsoft. Nor Ebay. Nor Paypal.

  2. Sorry its a slow connection speed cause its on a webserver but...
    I'm pretty sure that most web sites are ran by a web server.

     

    Anyways, there isn't really anything on there to critic really. It seems that you've made it so the links will not work unless somebody allows you to run javascript on their computer (judging by all of the URLs linking to "#"). Other then that ya, not much to critique on there since there's not really anything there.

  3. [quote author=nadeemshafi9 link=topic=119164.msg744788#msg744788 date=1195782775]
    what a load of crap, your all educated in programming you have to learn how to program via a teacher it dosent make sense otherwise, that teacher might be somone off the net if your a hobbiest or somone professional if u are aiming to become a professional, with php programming you have to know web technologies and they dont just appear in your mind you have to learn them as a hobby or an aimed professional progression course. In a degree you learn the basics of all internet technologies hardware and software including the basics of computer programming which means people that are educated KNOW WHAT THEY ARE DOING even thogh they may not know exactly how to do it they know what effect it will have and how it works.
    [/quote]Really? I think that the vast majority of what I know I have learned from randomly looking through source files myself and messing with them until I find out how they work.
  4. Wow no search box or anything.

    "What the !&$@ is this?"
    Gonna have to second that.

     

     

    I'm guessing your site is either completely broken, or for some stupid reason you have purposefully prevented it from working unless people allow you to run javascript on their computers.

     

     

    I'd give you an A for effort, except it really doesn't seem like much effort was put into it sorry (no offense).

  5. <?php
    	if ( $_SESSION['logged_in'] ){
    ?>
    
    welcome member 
    
    
    <?php  
    endif;
    ?>

     

    here is the code to prevent users from viewing page. yes simple i know but this is not the problem

     

    for the life of me i cant do it lol what i want is an error message to show if the user is not logged in.

     

    i have tried adding

    <?php
    
    }
    else {
    
    ?>
    
    <p>This is the protected page. Your private content goes here.</p>
    
    <?php
    
    }
    
    ?> 

     

    and verius other methords and know luck... i should now how to do this but its not there lol 

     

     

    <=$_SESSION['logged_in']?'You are logged in.':'You are not logged in.';?>

  6. Is it possible to check if a url (link) is still active ?

     

    I was thinking maybe you can check a link with a http response request and check what you get back ?

     

    so when you get a 404 page not found response you can mark that link to be deleted or something like that.

     

    I am not sure if I am making myself clear.

     

    anatak

    Probably better to do it whitelist based instead of blacklist based.

    Like if the response is 200 then mark it as valid, if not then mark it as invalid.

    And if it's 301 or 302 then test the URL in the location header.

  7. Thanks.

     

    I tried the APC thing, but I think there is a problem.

     

    In my php.ini file I have

    extension=php_mysqli.dll

    extension=php_apc.dll

     

    I have the php_mysqli.dll file and the php_apc.dll in the same directory as that.

     

    But when I try to open a page, an error pops up saying it can't load the php_apc.dll file.

    I commented the APC line and it works fine.

    I renamed my php_mysqli.dll file and I get the same error (but with php_mysqli.dll instead) so the problem is that the file isn't there right?

    But it IS there! So I'm not sure what to do about that.

     

    And I'm not sure how to get the Zend thing to work either.. my page loads with it but I get an error in the console

    Failed loading E:\ZendExtensionManager.dll

    2007-11-21 13:37:07: (mod_cgi.c.1231) cgi died ?

    and it doesn't seem to work (no speed increase)
  8. <?php
    
    if(strpos($url, "index.php?id=10") !== FALSE) //found
      ...
    else //not found
      ...
    
    ?>

     

     

    Orio.

     

    Note that this will only return true if ID is the very first variable. so website.com/index.php?id=10&foo=bar will work.. but website.com/index.php?foo=bar&id=10 will not work. Also, website.com/someotherpage/?security=problem&index.php?id=10 will return true, when it obviously shouldn't. Just checking the _GET variable would probably be best in this situation.

  9. Thank you :) 32bit PHP doesn't run on my webserver though, so I'm guessing a 32bit PHP exe also wouldn't.

     

    In case you're wondering why I want to have PHP be a pre-compiled EXE instead of compiling on page request.. it usually takes between 400 and 1200ms for the PHP script to compile, and between 1 and 20ms for it to run.

    So I'd really like to find a way to make it pre-compiled so there won't be a compile time on page request.

  10. I figured this wouldn't be a problem since I make frequent backups.. but it turns out I was only backing up data and not table structure.

    I wasn't expecting the databases themselves to become messed up x_x just the data in the tables.

     

    Please if you could tell me soon a way to fix them I would really really really appreciate it because I've been up over 40 hours and I need to fix this before I fall asleep, I can't have it be broken down all night X_X;

  11. About 1 third MyISAM, 1 third InnoDB, and 1 third Archive

     

    There is a "a.ARN" in the folder.

     

    Is there some way to drop this database without messing up my other databases? I don't want to cause any more damage then has already been done x_x

     

    BTW is there any way that I can recover my table structure? It will take me forever to recreate it all from scratch =\ and I need to make all of the rows in the exact same order that they were in before or else when I try to import the data it will get all messed up :(

  12. No you didn't, but according to your definition of copying Firefox has copied as well which nullifies your argument. Everybody copies each other and copying each other is (to a certain extent) good in my opinion.

    Not really. I think that M$ took the idea from Firefox not that other browser you named that noone has heard of.

    It doesn't really matter if some other browser had it first or not. I'm just saying that M$ took the idea from Firefox.

     

    In any case, I think Firefox always has been and always will be superior to IE :) you can try to convince me to use IE but whatever.

  13. My computer completely froze up so that I had to hold the power button like 5 seconds or whatever to turn it off.

    When I turned it back on, every time I tried to access a certain database, the mysqld-nt.exe would instantly die.

     

    Just clicking on it in SQLyog would do this.

     

    I tried restarting my computer/restarting MySQL multiple times to no avail.

     

    I finally gave up and tried to drop the database, and that failed to

    Error dropping database (can't rmdir './f/', errno: 17)

     

    Strangely, I can finally view the database now. All of my tables are deleted though. I figured this wouldn't be a problem since I make frequent backups.. but it turns out I was only backing up data and not table structure.

    So now I am trying to go through thousands of lines of my PHP and guess what my table structure was, so that I can reconstruct it.

    And now I'm getting an error when I am trying to run alter table blah set engine=Archive (not this exact sentence but whatever) it gives an error saying it can't create a database or a table or something (with seemingly random letters and numbers as the name of it)

     

    Please help x_x I have no idea what to do I can't even drop the database..

     

     

    I'm running the latest versions of 64bit MySQL, 64bit XP, 64bit SQLyog, and 64bit PHP.

     

     

    If somebody could help me fast that would be very good because I think people are going to start getting mad at me and leaving my site if I have to have it down much longer.. I think it's been over an hour already.. =( please help! I'm totally clueless on what to do here..

×
×
  • 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.