Jump to content

vijayfreaks

Members
  • Posts

    110
  • Joined

  • Last visited

    Never

Everything posted by vijayfreaks

  1. Hi.. For getting shipping cost m requesting following url via socket in php http://www.ups.com/using/services/rave/qcostcgi.cgi and passing following params: 10_action,13_product,14_origCountry, 15_origPostal,19_destPostal, 22_destCountry,23_weight,47_rateChart,48_container,49_residential now I am getting ship cost only for US location but other than US.. I am getting error "The requested service is unavailable between the selected locations." with Code: "1210" Is there any other API or Class / Method via I can get accurate UPS Shipping Cost.. Please help me.. Its Urgent..! Thanks and Best Regards, Vijay
  2. Hi.. change to following... <td style="width:3px">'.<?php $_SESSION['mydate'.$i; ?>.'</td> -Vijay
  3. Hi... first one start time: 12:00 then 1200 end time: 1:00 -> 1300 store data like this.. (or it would be time stamp) then whoever is going for reservation for that check condition like this fetch rec. frm qry: ( suppose 1230 is new entered time ) select count(*) as reserve from table where 1230 not between start_time and end_time if reserve > 0 then its reserved otherwise not.. Regards, Vijay
  4. Hi.. For that check POST varible that would be input via end-user.. Check its value with the correct one would be storred in session.. if both are same then you would be go for further action.. -Vijay
  5. Hi.. another suggestion if you wanna go 4 it..: use mktime function in php for both date so you have time stamp.. then do subtraction and store it via update query.. -Vijay
  6. Hi.. see the Class/Object Functions in php manuals.. get_object_vars ,get_class_vars .. -Vijay
  7. Hi.. for that you have to use regexp in mysql query or after retrieving result you have to check whether http:// exist or not... then accordingly you have top take decision or compulsory input w/o http:// and @ the time of showing records you can add http:// -Vijay
  8. Hi.. I m not sure what you wanna do.. but if that mean if some one selected whatever from selectbox that would be retain as it is afer post back.. that you want to say..? or any thing else.. if yea then that would be done via.. <?php while{$rs=mysql_fetch_array($result)) { $val_from_db_loop = $rs['select_val']; ?> <option value="<?php echo $val_from_db_loop;?>" <?php if($_POST['select_box_name']==$val_from_db_loop) { ?> selected="selected" <?php } ?> > <?php echo $rs['select_show_val'];?> </option> } Regards, Vijay
  9. Hi.. see the following code: $dbcnx = @mysql_connect("localhost", "user", "pass****"); if(!$dbcnx) { $db_sel = mysql_select_db('db_name',$dbcnx); if($db_sel) { $subject=$_POST['subject']; $body=$_POST['body']; // before adding it in to db do some validation over subject and body posted var.. // is it contain valid data... $sql = 'INSERT INTO `tritusco_news`.`news` (`subject`, `body`) VALUES ($subject, $body);'; if (@mysql_query($sql)) { echo '<p>News added</p>'; } else { echo '<p>Error adding News</p>'; } } } Regards, Vijay
  10. Hi.. check via its value also.. i.e.: $exp = (isset($_POST['remember']) && $_POST['remember'] == 'remember') ? time() + (60*60*24*365) : 0; Regards, Vijay
  11. Hi.. for that use directory function to create directory with the help of mkdir() and give specific permission and that directory would be named using unique fileld from the table member in that you can store that pdf file, with particular name.. (that would also you can store in to db) Regards, Vijay
  12. Hi.. see the round function for this.. echo round(3.5); will result in 4.. its bit differ from ur result u want above 5.. probably for that you have to go for user defined function.. and you have to define your own logic.. -Vijay
  13. Hi.. dont do like that.. do necessary settings related to path only.. and use the same file for ur purpose.. -vijay
  14. Hi... r u getting any error..? if yes then show ur error? -Vijay
  15. Hi.. for that you have to use userdefined class that will help youo to generate this excel file.. like follow this link: http://sourceforge.net/projects/psxlsgen/ and for simple usage u can do like this: http://www.pyramidlinking.com/phptoexceltutorial.php3 http://www.999tutorials.com/tutorial-create-excel-files-with-php.html Regards, Vijay
  16. Hi.. use following function to get this.. odbc_field_name($res_id,0) will give first column.. odbc_field_name($res_id,1) will give 2nd column.. Regards, Vijay
  17. Hi... For that are you sure that whatever you have written in key of $row_cat.. i.e. $row_cat['id'] in this --> 'id' so exactly same column(field) in db... so check for it otherwise it seems to be ok.. Regards, Vijay
  18. Hi.. Isn't there any option with RSS FEED from where u r fetching the data? Regards, Vijay
  19. Hi.. For this why you want to go to database with the help of date() function only you can do this.. see its all parameter and use it in proper manner.. you will surely get it.. Regards, vijay
  20. Hi.. for that you can do one thing.. assign unique id relatively names... and you can access it via document.getElementById('id'); Regards, Vijay
  21. Hi.. accordingly I want getting blinking as i have in IE.. you can see my firefox settings via screenshot.. Regards, Vijay [attachment deleted by admin]
  22. Hi.. I want to make script if browser window minimized and user is doing another task and if some event occur then want to notify user some thing has been done on that page.. so want to do focus() on that page.. and have done.. It works fine in IE but not in FF Regards, Vijay
  23. Hi.. window.focus() working in IE fine but Not in FF..! so any one know how to make it work..? Thanks & Regards, Vijay
  24. Hi.. yes in config file there would be some parameters to put it with our own css.. so check support doc for it have done that in FCKEditor.. Regards, Vijay
  25. Hi.. for that you have to reset it via random string and then md5 and store it.. and then send it to user.. Regards, Vijay
×
×
  • 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.