Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-15-2022, 11:06 PM   #1
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,126
ImageMagick & form $post

Does anyone with knowledge of Imagemagick know if i *have* to use sessions in order to post form data to a .php file to generate the image based on pre-defined settings?

I've Googled and not finding anyting definitive other than there being some 'bugs' in the latest version of ImageMagick.

I'm just using a standard HTML form with the $post for the data being input, feeding it into the imagemagick.php file (which works if I edit it manually) but nothing is actually 'happening' as far as the data getting posted to the file.

Im just trying to use a form to edit text, just as I would a regular .php page outputting form input in the browser when you hit the submit button
__________________
SOMETHING EXTREME IS COMING SOON!
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-15-2022, 11:36 PM   #2
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
It doesn't sound like you would need to use sessions in that scenario, unless your whole form required you to be logged in to use it.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2022, 01:06 AM   #3
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,126
Quote:
Originally Posted by k0nr4d View Post
It doesn't sound like you would need to use sessions in that scenario, unless your whole form required you to be logged in to use it.
That was what I was thinking, yet for some reason it does not appear to be parsing the data entered into the variable fileds in the imagemagick.php page :/

I'm going to play with it a little more and see what I can find error wise but im about 99% certain this is error free and its related directly to my ImageMagickinstallation on the server :/

Would being behind .htaccess count as being required to be logged in? Even if the form and ImageMagick.php page is in the same directory that is protected?
__________________
SOMETHING EXTREME IS COMING SOON!
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2022, 01:41 AM   #4
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by Publisher Bucks View Post
That was what I was thinking, yet for some reason it does not appear to be parsing the data entered into the variable fileds in the imagemagick.php page :/

I'm going to play with it a little more and see what I can find error wise but im about 99% certain this is error free and its related directly to my ImageMagickinstallation on the server :/

Would being behind .htaccess count as being required to be logged in? Even if the form and ImageMagick.php page is in the same directory that is protected?
print_r() the $_POST and $_FILES arrays to make sure that the data is actually arriving at the server.

If you are talking about htpasswd, that's doesn't count as a login system in the context of php sessions. That's separate.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2022, 01:10 PM   #5
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,126
Quote:
Originally Posted by k0nr4d View Post
print_r() the $_POST and $_FILES arrays to make sure that the data is actually arriving at the server.

If you are talking about htpasswd, that's doesn't count as a login system in the context of php sessions. That's separate.
Thank you.

Before I start screwing around with things and mess them up even more, can I confirm that you mean I should put print_r() like this at the top of the page where the arrays are and not somewhere else?

Quote:
<?php

$Color = print_r($_POST)["Color"];
$Title = print_r($_POST)["Title"];
$TitleSize = print_r($_POST)["TitleSize"];

?>
__________________
SOMETHING EXTREME IS COMING SOON!
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2022, 01:42 PM   #6
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
print_r($_POST);
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-16-2022, 02:19 PM   #7
Publisher Bucks
Confirmed User
 
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana. / Newcastle, England.
Posts: 1,126
Quote:
Originally Posted by k0nr4d View Post
print_r($_POST);
Oh at the very top, gotcha.
__________________
SOMETHING EXTREME IS COMING SOON!
Publisher Bucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
form, file, imagemagick, data, input, edit, $post, .php, happening, imagemagick.php, manually, page, hit, submit, button, crap, browser, outputting, text, feeding, regular, bugs, based, image, pre-defined



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.