rockie12_us
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: wp_remote_post not working on my godaddy wp installit is going to the same domain… odd safe didnt work.
Thanks its workingForum: Developing with WordPress
In reply to: wp_remote_post not working on my godaddy wp installBingo!!!!
Excellent!!!whats the difference?
isnt safe better?
Gold star for you sir.
Forum: Developing with WordPress
In reply to: wp_remote_post not working on my godaddy wp installif (isset($_POST['selecteamsformbtn']) && wp_verify_nonce($_POST['tuokrow_etaerc'], 'select_teams')) { // create an array of the form fields to pass to the php file that will handle inserting // new data into the database table $fields = array( 'off_team_name' => $_POST['off_team_name'], 'def_team_name' => $_POST['def_team_name'], 'user_id' => $_POST['user_id']); // this calls the php file that will insert the data into your database table wp_remote_post( 'https://mysite.com/my_stuff/select.php', [ 'body' => $fields, ]); // after the data is inserted into the database you redirect them back to the workout form page wp_safe_redirect('https://mysite.com/my-teams/'); exit; } }, 10);
- This reply was modified 2 years, 3 months ago by Steven Stern (sterndata).
Forum: Developing with WordPress
In reply to: wp_remote_post not working on my godaddy wp installCould godaddy websecurity on my site, be blocking the redirect?
Forum: Developing with WordPress
In reply to: wp_remote_post not working on my godaddy wp installI added
exit;
and it still doesn’t redirect to the page I want.
Forum: Developing with WordPress
In reply to: wp_remote_post not working on my godaddy wp installno
Forum: Developing with WordPress
In reply to: wp_remote_post not working on my godaddy wp installwp_safe_redirect response is 1
Forum: Developing with WordPress
In reply to: wp_remote_post not working on my godaddy wp installI got past this wp_remote_post issue, the next line is
wp_safe_redirect('https://mysite.com/teams/');
this line does not seem to fire, it takes me to
https://mysite.com
- This reply was modified 2 years, 3 months ago by rockie12_us.
- This reply was modified 2 years, 3 months ago by bcworkz. Reason: code format fixed
Forum: Developing with WordPress
In reply to: call python bot from wordpress siteHi tobifjellner
I guess I wasn’t clear. I dont want to run this from my personal computer. I will put it in a place like GoDaddy, etc. My question is more the architecting this. Can WP make a call to the Python bot I will also have running in GoDaddy land? If so, how, what is an architecture that would work for this?Thanks
Dean-OForum: Plugins
In reply to: [SportsPress - Sports Club & League Manager] rss feed to input scoresHi Roch
Can you elaborate on “use the calendars for that” ?
Thanks
Dean-OForum: Fixing WordPress
In reply to: plugin for a form that submits to another form and queries databasethank you… no free plug in that does this?
Forum: Fixing WordPress
In reply to: user registrationIs there a global setting?