• 11-04-2009, 20:00:51
    #1
    Üyeliği durduruldu
    merhaba arkadaslar 3 gun once forumdan bir yardim istemiştim saolsun srdemseker in yazdıgı kod sorunumu cözmüştü fakat ayni problam admin girisinde oldu normal plesk panellerde global desing on yaparak bu sorunu hallediyorsum fakat c panele gectim sorunlar üstüne sorunlar cıkmaya basladı

    örnegin admin paneli bu

    Control Panel sifresi ie admin kullanıcı adı admin ama giris yapamiyorum tekrar geri gönderiyor cokie kodu de eklesem yani hatayı veriyor

    ekledigim kod bu foksiyon dosyasina scriptin ana foksiyon dosyasina admin e ekledigim zaman calısmıyor

    foreach($_COOKIE as $key => $val){
    $
    $key= $val
    ;
    }
    foreach(
    $_SESSION as $key => $val
    ){
    $
    $key= $val
    ;
    }
    foreach(
    $_POST as $key => $val
    ){
    $
    $key= $val
    ;
    }
    foreach(
    $_GET as $key => $val
    ){
    $
    $key= $val
    ;
    }

  • 11-04-2009, 20:33:43
    #2
    Bence en iyisi scripti baştan bir editlettirin. sürekli sorun cikarir bu şekilde...
  • 11-04-2009, 20:53:02
    #3
    Eposta Aktivasyonu Gerekmekte
    LaCReMeL adlı üyeden alıntı: mesajı görüntüle
    Bence en iyisi scripti baştan bir editlettirin. sürekli sorun cikarir bu şekilde...
    sorun ne ki?
    plesk, c panel ne alaka? script ne ise bilmiyorum, bunun kurulum/kullanım notu yokmu, neler ister belli değil mi? Yani php ayarlarında neler yapman gerekiyor, hata mesajı yokmu? Admine giremiyorum, lafıyla nasıl yardımcı olunacak?
  • 11-04-2009, 21:09:18
    #4
    taylanaktepe adlı üyeden alıntı: mesajı görüntüle
    sorun ne ki?
    plesk, c panel ne alaka? script ne ise bilmiyorum, bunun kurulum/kullanım notu yokmu, neler ister belli değil mi? Yani php ayarlarında neler yapman gerekiyor, hata mesajı yokmu? Admine giremiyorum, lafıyla nasıl yardımcı olunacak?
    Daha önceki konularindan arkadasin problemini biliyorum
    register_globals dan kaynaklaniyor problemleri
    scripti GET ve POST lari $_POST['name'] degilde $name şeklinde aliyor
  • 11-04-2009, 21:22:43
    #5
    Üyeliği durduruldu
    Başlık biraz garip olmuş
  • 11-04-2009, 21:26:41
    #6
    Üyeliği durduruldu
    taylanaktepe adlı üyeden alıntı: mesajı görüntüle
    sorun ne ki?
    plesk, c panel ne alaka? script ne ise bilmiyorum, bunun kurulum/kullanım notu yokmu, neler ister belli değil mi? Yani php ayarlarında neler yapman gerekiyor, hata mesajı yokmu? Admine giremiyorum, lafıyla nasıl yardımcı olunacak?



    readme dosyasi bu bak


    IN ORDER FOR YOUR SCRIPT TO WORK, YOU MUST DO THE FOLLOWING:
    Send complete url to Staff where your script will be installed.
    Make sure you edit settings and put in your url where script is installed.


    Requires register_globals to be on.
    FOLLOW THESE IN STEPS PLEASE.
    ############################
    Go into your hosting control panel
    Make a database
    Go to phpmyadmin
    In phpMyadmin you should click on your database name and then in the right hand
    side panel click on the "SQL" Tab
    On this screen you will see a browse button. Click on it and point to the tables.sql file
    located on your computer where the zip file is for databse.
    Once you execute this file, it will setup the update for you.
    Edit the connection.php
    Edit the admin2/connection.php
    upload all files in binary mode
    graphics in binary mode
    #######################IMPORTANT NOTE########################
    #######################IMPORTANT NOTE########################
    #######################IMPORTANT NOTE########################
    There is a .htaccess file in the zip file.
    If your already using a htaccess file then copy what is in there and add it to yours.
    If your not using one, then upload in binary mode to root where script is to be uploaded to.
    You can not do without using it or adding it too it.
    #######################IMPORTANT NOTE########################
    #######################IMPORTANT NOTE########################
    #######################IMPORTANT NOTE########################
    Password protect the admin2 directory, you can do this in cpanel
    Depending on server :
    You may have to cmod the following directorys to either 777 or 755:
    clients_images
    members_orgimage
    members_thumbs
    ################################################## #########
    In your browser run yoursite.com/csv2mysql.php
    This will install the country codes for you.
    ################################################## #########
    Log into admin2/
    User = admin
    Pass = admin
    Click on edit settings and edit
    The script is search engine friendly and uses 3 files that do not use file extentions
    index, mainpage and viewblog
    This is the reason for the .htaccess file and important on which one you use.
    Of course you have edited the connection.php files so you know how many free and paid get for blogs,uploaded images, and links they can have.
    Members approve their own comments to their blogs and notices are sent to their emails.
    All blogs that are created have their own page titles, meta descriptions, and keywords
    So members can submit their blogs to search engines.
    The editor uses bracket codes and are replaced by html for blogs.
    Only codes are inserted into database so no worry about saftey.
    All tags are stripped from postings.
    So if someone trys to use lets say javascript, it wont work.
    You get emails for all new and edited blogs, this is important as you can see what members are trying to do things they shouldnt do.
    I would set up a new email address for this.
    Uses paypal of course
    Will add alertpay later.
    If they have no picture of themself uploaded, it uses their gender and adds a silhouette of a male or female.
    Their picture are resized to 50x50
    Images are resized if they are larger then 500x500 and accordling to thier size.
    Uploaded images can be no larger then 1.44 Megabytes (1,474 KB).
    You can ban people as well.
    You can ban people by ip address or by email address from signing up.
    Submit your xml sitemap to google for crawling.
    https://www.google.com/accounts/Login
    the url for sitemap.xml would be http://www.yoursite.com/sitemap.xml
    Of course change yoursite.com to your own.

    Edit the robots.txt file and edit the url for sitemap
    Go here https://shoppingads.com
    Signup
    And click Get Code
    Fill it out
    On that page you will see something like this:
    <script type="text/javascript"><!--
    shoppingads_ad_client = "YOU WANT THE CODE THAT IS IN HERE ON THIS LINE";
    shoppingads_ad_campaign = "default";
    shoppingads_ad_width = "125";
    shoppingads_ad_height = "125";
    shoppingads_ad_kw = "most popular";
    shoppingads_color_border = "FFFFFF";
    shoppingads_color_bg = "FFFFFF";
    shoppingads_color_heading = "00A0E2";
    shoppingads_color_text = "000000";
    shoppingads_color_link = "008000";
    shoppingads_attitude = "true";
    shoppingads_options = "n";
    --></script>
    <script type="text/javascript" src="http://ads.shoppingads.com/pagead/show_sa_ads.js">
    </script>
    Get the code on the line ad_client and add that code thru admin area settings and turn it on.
    Now if a member does not sign up and does not use their code on their blog.. it will use yours instead.

    bende anlamadım kı cpanel ile plesk arasindaki problemi fakat plesk de register_globals on yaptıgımda sorunsuz calısıyordu ama simdi nedense sorun üstüne sorun alıyorum
  • 11-04-2009, 21:29:57
    #7
    Üyeliği durduruldu
    Faggo adlı üyeden alıntı: mesajı görüntüle
    Başlık biraz garip olmuş
    evet katılıyorum sana gercekten garip bir baslik oldu ama aklım durdu

    LaCReMeL adlı üyeden alıntı: mesajı görüntüle
    Bence en iyisi scripti baştan bir editlettirin. sürekli sorun cikarir bu şekilde...
    kardeş dedigin gibi

    Daha önceki konularindan arkadasin problemini biliyorum
    register_globals dan kaynaklaniyor problemleri
    scripti GET ve POST lari $_POST['name'] degilde $name şeklinde aliyor

    bu sorundan kaynaklanıyor bir arkadas daha senin söyledigini söylemişti ama bir sekilde caliştiriyorsum ama cpanel e gectim cirtladı
  • 11-04-2009, 21:36:03
    #8
    htaccess'e
    php_flag register_globals on
    yazmayi denedin mi ?
  • 11-04-2009, 21:38:22
    #9
    Birde

    foreach($_COOKIE as $key => $val){
           $$key= $val;
    }
    foreach($_SESSION as $key => $val){
           $$key= $val;
    }
    foreach($_POST as $key => $val){
           $$key= $val;
    }
    foreach($_GET as $key => $val){
           $$key= $val;
    }
    bu koddan $_COOKIE ve $_SESSION u kaldiralim

    foreach($_POST as $key => $val){
           $$key= $val;
    }
    foreach($_GET as $key => $val){
           $$key= $val;
    }
    bu şekilde olsun yani, eskisini bununla değiştir