....mmmh.. what does this var_dump say about my button?
array(3) { ["shippingcost"]=> string(0) "" ["urlstr"]=> string(0) "" ["submit"]=> string(12) "Submit Query" }
Yep, thanks vacunita, what if I want to be presented with:
1. entry box for data, then once that was submitted another box asking for 1 more piece of data, whats the best way with php, still getting to grips with the code
Now I get it... next question, where do my credentials get entered above? my file is on my server so I need to to knock on the door and let ebay let me in for data
even this don't work, just keeps going back to the form
$urlstr = filter_input(INPUT_POST, 'urlstr');
$shipcost = filter_input(INPUT_POST, 'shipcost');
if(isset($_POST['submit']))
{
if(!empty($urlstr) && !empty($shipcost))
{
echo $urlstr;
}
else
{
echo "Both fields must be...
What is wrong with this please? have two fields and both must have value but im getting lost, I have the submit button and the values think about and the form to display
$urlstr = filter_input(INPUT_POST, 'urlstr');
$shipcost = filter_input(INPUT_POST, 'shipcost');
if(!empty($urlstr) &&...
below is sample code, but all I want is what I did above, the result of what im searching for, how can I do this with below and break it down to look for lets say, the shipping cost..
<html>
<head>
<title>eBay Search Results</title>
<style type="text/css">body { font-family: arial,sans-serif;}...
its not smarty, for instance the call to template file here
$template->set_filenames(array(
'body' => 'sell.tpl'
));
$template->display('body');
the sell.tpl has this variable set, this is the only instance in the sell.tpl file,
<input type="hidden" name="csrftoken"...
I just get this within the source
<b>Notice</b>: Undefined variable: csrftoken in <b>/home/garyjacobjack/public_html/auctioneerslive.co.uk/importdata_trk_access.php</b> on line <b>112</b><br />
">
How do I do this
<input type="hidden" name="csrftoken" value="{_CSRFTOKEN}">
with a php file that uses standard html in the form? this doesn't work
<input type="hidden" name="csrftoken" value="<?php echo $_CSRFTOKEN; ?>">
bidders have a control panel that allows them to place ebay url and it imports everything into another bidding site saving time copying pasting etc
... is it possible to use fragments of the api to replace simple dom? ...is loadhtml for php any better that simple dom or they similarTs
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.