Jump to content

allex01

Members
  • Posts

    82
  • Joined

  • Last visited

    Never

Posts posted by allex01

  1. We have about 10 large scale projects per month. We are looking for 2 programmer to join our team. You must have excellent PHP, AJAX and YUI skills. You must be well focused and take your work seriously. Deadlines are very important. If you meat the criteria, email me with more info about you. No companies or firms please.

    email: webcarts at gmail

  2. We are adding 2 php developers to our team. You will be working full time on projects assigned to you. You must have EXCELLENT php, javascript/ajax skills. CSS is big plus. This job is not for a beginner. You must follow strict deadlines and send progress report daily and availabe to chat via messenger if needed. If you are busy with other freelance work, this job is not for you. we need someone dedicated to our work. All projects assigned to you will be posted in a project manager system under your username. The faster you work the more project we be assigned to you and of course the more money you get. Pay is based per project on amout of work completed to be determined by us.

     

    Please email a brief summary of your coding ability and knowledge with other scripts and framworks you've worked with. webcarts "at" gmail.com

    In your email please specify where you're from and age. Outsource preferred.

  3. I'm confused between using codeigniter and smarty.

     

    I have 3 concerns

     

    1. Which is an easier and more flecible framework to work with

    2. I want to be able to easily edit or create new templates (can this be done with codeigniter)

    3. Is there any noticible perfomarce difference between the two.

    4. Which do you recommand. Cons and pros for the both would be nice.

    5. Do you recommand integrating smarty with codeigniter. Any drawbacks?

     

    Thanks for your help

  4. We are still looking for 1 developer.

    25 people applied and only 1 had the experience. Please only apply if you are up to the work. We have more then few projects a days. We want someone experienced, fast and always available online. If you a busy with other work, please do not apply. It will not help us. In yoru email tell us where' you're from, age, and your expereince.

  5. We need 2 php developers to add to our team for ongoing projects. We have 2 from India looking for 2 more also from india preferably.

    This will be an ongoing job. You will be assigned 1 project per day. 

     

    Requirements

    Excellent PHP knowledge.

    Very good javascript / Ajax knowledge

    CSS big plus

     

    Contact webcarts @ gmail

  6. I have a social networking script that contains about 45 tables. Thru out the years i have added many custom fields and tables to the database. A new version of the script came out with a database that still uses the same database structure + newly added tables and columns. Again My older database also have new tables and new added columns per table. What is the easiest way to transfer export and import my old database to the new one and write all the information over the new database so that if a column or table did not exists in the new database, it will simply get created and all information will be written. Any php code that could help do this.

     

    Thanks

  7. I don't think you understood the question. pickled is correct, i don't think we could change that in URL, but i was asking if there was a way to do so.

     

    I have this code

    <?php

    $w=rand();

    ?>

    <a href="test.php?ran=<?php echo $w; ?>">test</a>

     

    When you click on the test link, a page will be generated like test.php?ran=321234

     

    Now if a user refreshes this page by pressing f5, i want the ran= to change automatically to another random number in the url without having to click on the test link again. I was asking if this can be done somehow.

  8. I have the text stored in teh database like <b>sometext</b>. When i output it with php. It outputs exactly as it's stored in the database. I want php to treat this as html and make the <b>sometext</b> as sometext being bold.

     

    What php function do i need to use to make it execute the html instead of outputing the html text.

     

    Thanks

  9. Query: SELECT user_id, user_name, sex, first_name, allow_article, last_name, email, age, total_videos, total_musics, total_photos, total_friends, 1 AS total_groups, DATE_FORMAT(doj, '%D %b %y') AS doj, DATE_FORMAT(last_logged, '%D %b %y') AS last_logged, profile_tags, 1 AS tag_match, icon_id, icon_type, usr_status, DATE_FORMAT(last_logged, '%D %b %y') AS last_logged, city, postal_code, country, featured, is_affiliate_type FROM users WHERE usr_status!='Deleted' AND user_id in (select ow_id from users) ORDER BY user_id ASC LIMIT 0,16

    Query: SELECT COUNT(*) AS count FROM users WHERE usr_status!='Deleted' AND user_id in (select ow_id from users)

  10. Check attached screenshot. The users table contains around 100 colums and 14,000 rows. I'm using the following function to find users. Count is what causing the issue. When the function excutes it keeps running for over 12 minutes to find the users. this is putting a huge load on the server.

     

    public function Total_referrals($opt,$user_id)
             {
                
                switch($opt)
                {
                                        case 1:
                                               $where=" where ";
                                               break; 
                                        case 2: 
                                               $doj_start = sprintf("%04d-%02d-%02d", date('Y'),date('m'),date('d'));
                           $dojStart  = $doj_start;
                                                $where=' where doj>= \''.addslashes($dojStart).'\''.' and';
                                                break; 
                                        case 3: $where=" where trans_id=0 and ow_id!=0 and ";
                                                break;        
                   
                                        case 4: $where=" where trans_id!=0 and ow_id!=0 and ";
                                                break;        
                   
                }
                $where.=' ow_id ='.$user_id;//$this->CFG['user']['user_id'];   
                $sql = 'SELECT count(*) as cnt FROM '.$this->CFG['db']['tbl']['users'];
                $sql .=$where; 
                $stmt = $this->dbObj->Prepare($sql);
                $rs = $this->dbObj->Execute($stmt);
                if (!$rs)
                   trigger_error($this->dbObj->ErrorNo().' '.$this->dbObj->ErrorMsg(), E_USER_ERROR);
                if ($rs->PO_RecordCount())
                {
                    if($row = $rs->FetchRow())
                   {
                              $cnt=$row['cnt'];
                        } // while
                }
                return $cnt;
             }
    

     

    mysql.gif.

  11. you can use HTTP_REFERER or, just pass the host to the iframe:

     

    <body>
    <iframe src="http://xyz.com/file.php?id=<?php echo $_SERVER['HTTP_HOST'];?>"></iframe>
    </body>
    

     

    <a href="whatever.com?id=<?php echo $_GET['id'];?>">link</a>
    

     

    Althought this works great, if a user pasted the iframe code in a non .php page the <?php ?> will never get executed. This code is for a widget i'm building where users copy and paste the code on there site. Maybe javascript would be the best way to go at it as premiso mentioned. Anyone insights about how this can be achieved using javascript would be great.

  12. Blade280891, learning php is something and applying is something else. No everyone that have the lumber and tools can build a house even if you know how to use the tools. I was asking for a way to do it and You just asnwered it can't be done and you called me arrogant. If i knew how to do it i wouldnt be using this forum. I also never said i wanted to print the host in iframe. You just assumed it.

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