Jump to content

rashgang

Members
  • Posts

    13
  • Joined

  • Last visited

rashgang's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi all, I am working on a project where i need to implement rbac control. I sthere any library available in codeigniter to extend the functionality. I have started working on codeigniter. i want to implement this in codeigniter. Please some on e guide how to achieve that. how to check roles and permssions.
  2. i will not use post/get. i need to session variables in subdomains. if we have to use the same sesison subdomain like example.com domain.example.com how to set the sesstion ini_set and call it in our page
  3. Could some one tell me how to use session variable across multiple domain. For example I have created a project in open cart. Need to pass the sessiion variables once user logged in same to another domain www.domain1.com www.subdomain1.com How to achieve this. please someone help me to do this using php
  4. Hi All, Please anyone help me to write api for a portal sites. I am new to api services. Please anyone tell me how to use REST. Also i would like to know what is the difference between rest and soap. Why should not use soap ?. Please show me some examples to write api for a site. is it safe to write api in rest ?
  5. hi all, How to send an automated notification mail of expiry job or item using cron job. please help me to do this please give me the select query for this
  6. i am trying to query top 5 most viewed a item by users. how to create a table for this. should i calculate the views by viewed the product by user one time or many time. please someone help to solve this problem?
  7. i am tryingn to find the near by location using zipcode and given radius. i am calculating using havesen forumula Please see the below example. I'm not getting exact results for example i am searching for 50 miles 35004 zipcode it is showing same results. i have stored longitude and latitude of 35005 it is not listing in the results zipcode latitude longitude 35005 33.592585 -86.959690 zipcode latitude longitude 35005 33.592585 -86.959690 The following formula is right one or have to use other formula j.lknjobs_latitude = stored table column of latitude j.lknjobs_longitude = stored table column of longitude ex: (3959 * acos(cos(radians($latitude)) * cos( radians( j.lknjobs_latitude ) ) * cos( radians( j.lknjobs_longitude ) - radians( $longitude ) ) + sin( radians( $latitude ) ) * sin( radians( j.lknjobs_latitude ) ) ) ) ) AS distance ";
  8. how to generate a new folder using duplication of particular folder using php?
  9. i have created a table in mysql with primary and auto increment example: create table sample(id int not null primary key,first_name varchar(30)) insert into table sample values(1,'test'); insert into table sample values(2,'test'); after delete the first row with id "1". then insert again 1 on the same table it gets inserted my question we have created the table with primary key how the same id inserted again?
  10. <form name="resume_search" method="get" action="index.php"> <input type="hidden" name="task" value="search_resume"> </form> if i changed it to post getting error actually it is a component inside having file like employer_Edit_job.php
  11. using paypal.class.php i can edit the amount using firebug. how to resolve it. i have attached the files. please check with the attached screen shot. after changing the amount to zero using firebug paypal-1.3.0.zip
  12. i have used paypal class file which somebody says its not safe to use this class file in payment sites. please advise on this. i have doubts regarding the paypal ipn and i have 2 files 1) paypal.class.php 2) paypal.php i am using it in localserver should i add return url in my developer paypal account. i didnt add the return url but its working fine with the below url ex: https://localhost/paypal.php?success i am getting all the response here i have attached files please check it paypal-1.3.0.zip
  13. they are using wordpress. you can get the wapplyzer addon for firefox which will tell what kind of cms or core used in the site.
×
×
  • 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.