Recent Posts

Pages: 1 ... 6 7 [8]
71
Macromedia Flash XML Tutorial / Re: save.php source code not available for download.
« Last post by viulian on February 24, 2007, 12:55:51 PM »
Thanks for the kind words :)

I've pasted the code below. It is minimalistic so it can be easily adapted to any use..

Code: [Select]
<?php
//Capture data from $_POST array
$myxml $GLOBALS['HTTP_RAW_POST_DATA'];
//Make one big string in a format Flash understand
//Open a file in write mode
$fp fopen("value.xml""w");
$ok fwrite($fp$myxml);
fclose($fp);

if (
$ok)
        
header('Location:http://hex.ro/files/flashxml/Display.html');
else
        echo 
"writing=Error&";

?>

I'll also update the webpage now..
72
Is there any way I could take a look at the PHP code on save.php in the flash/php/xml example posted on your site.  I have been looking all day for a tutorial on the topic.

You are the only one.

Thank you so much.

Brian.
73
Java SMF Backup / Re: secs or sc input field?
« Last post by viulian on February 19, 2007, 08:10:31 PM »
I think there is a problem with the authentication on the forum (it redirects to some other page when something goes wrong and then the application won't find the sesc (or sc) parameter in the page).

I cannot ask to see the log files as they do contain your sensitive information..

What you should do is install an HTTP proxy (such as Charles http://www.xk72.com/charles/ - it's shareware, but you can use it for 30 days).
After you set it up, please set the proxy parameters in Java SMF Backup to point to localhost and the port you have started Charles on.

Then watch the dialog between the application and your forum, and then click on the last page that is sent back from the forum to the application.

You should be able to see (if you save the text from Charles to an .html page) what was the error message.
I guess it's something related to the session authentication - but can't actually say what goes wrong..
(i mean it's a trade off - no matter how much logging I can put in the application, only the user is able to investigate what goes on - as there are privacy issues to take into account).

I guess Charles is an easy solution.. You should see what is the page returned by the forum when you try to connect via the application (it will contain an error message sent by the forum instead of the admin page which has the sc or sesc parameter).

Hope this helps :) please keep me posted.
74
Java SMF Backup / Re: secs or sc input field?
« Last post by MSport on February 19, 2007, 04:51:19 PM »
Thanks for your reply! I checked the items you noted, and am still getting the same error. There are no .htaccess files in the root or the sub-directory where SMF runs. Here is the complete context of the SMF Backup dialog:

Quote

- Connecting to http://www.domainname.com/ForumSubDirectory/index.php?action=admin
- Issuing POST to http://www.domainname.com/ForumSubDirectory/index.php?action=login2
- Issuing GET  on http://www.domainname.com/ForumSubDirectory/index.php?PHPSESSID=8e71df48843a4d0d85675f0b4f9190db%3baction=login2%3bsa=check%3bmember=2
- POST to http://www.domainname.com/ForumSubDirectory/index.php?action=maintain
- class smfbackup.http.SMFException: No "sesc" or "sc" input field found in the reply page. Cannot proceed.


The forum is running SMF v. 1.1.1.

Any other ideas? SMF Backup looks like a great application - hope I can get it working properly!

Thanks again!
75
Java SMF Backup / Re: secs or sc input field?
« Last post by viulian on February 19, 2007, 08:47:42 AM »
Hi :)

Do you use an .htaccess with redirects ?

Usually, when you log into the forum, the forum will answer back with a page containing the session (sc or sesc - don't know in fact if its the session, its a parameter which if its missing, any admin operation will not work).

The trouble is that:
a) mistyped password
b) redirects (or other processes) which intercept the login page (such as addons on the forum).

Make sure that the index.php you are pointing your URL to is the SMF one's and not the index.php of some portal/wrapper over the forum..
76
Java SMF Backup / secs or sc input field?
« Last post by MSport on February 17, 2007, 08:32:03 AM »
This looks like a great program! Thank you!

Installed the sytem for Windows, attempted running and got the following error:

class smfbackup.http.SMFException: No "sesc" or "sc" input field found in the reply page. Cannot proceed.

Please help -- what am I missing here?

Thanks again!
77
Perl File Indexer / This only works with ActivePerl and not cygwin.
« Last post by viulian on February 05, 2007, 03:23:15 PM »
FYI, Perl File Indexer only works with ActivePerl for Windows..
78
Java SMF Backup / Java SMB Backup goes live on simplemachines.org!
« Last post by viulian on February 05, 2007, 03:19:27 PM »
Java SMF Backup was published on http://www.simplemachines.org/download/?tools on 01 Feb. 2007 :)
Pages: 1 ... 6 7 [8]