Stone Design Forums

Discussion for all things pertaining to Stone Design software
It is currently Mon May 20, 2013 7:29 pm

All times are UTC - 7 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: - PHP -
PostPosted: Wed Apr 01, 2009 9:45 am 
Offline

Joined: Sun Sep 18, 2005 12:12 pm
Posts: 10
Location: London
This is probably easy to sort out, but it's a stumbling block for me.

I can put together PHP scripts that work fine, on their own.
I can put together webpages using Create and HTML in the Embeds.

But I'm having trouble inserting PHP scripts into a Create webpage.

If I just insert the PHP script into the Embed [treating it like the HTML], it trails off the page and doesnt work [yes, I know the PHP script won't be actioned without it's handling server].

Can anyone give this chap some guidence - step-by-step would be good, pictures would be good, worked example would be most helpful.

Peter


Top
 Profile  
 
 Post subject: Re: - PHP -
PostPosted: Sat Apr 04, 2009 10:08 am 
Offline

Joined: Mon Mar 15, 2004 10:07 am
Posts: 110
Location: Chicago, IL
Synner667 wrote:
This is probably easy to sort out, but it's a stumbling block for me.

I can put together PHP scripts that work fine, on their own.
I can put together webpages using Create and HTML in the Embeds.

But I'm having trouble inserting PHP scripts into a Create webpage.

If I just insert the PHP script into the Embed [treating it like the HTML], it trails off the page and doesnt work [yes, I know the PHP script won't be actioned without it's handling server].

Can anyone give this chap some guidence - step-by-step would be good, pictures would be good, worked example would be most helpful.


I'd recommend, if at all possible, not using Create to add the PHP. I'd recommend using a plain text editor like TextWrangler to insert the PHP. To make sure you put it in the right place, assuming you're not comfortable enough with raw HTML to find it, you could insert some recognizable placeholder text as an embed (something like *****PHP GOES HERE*****). Then open the resulting HTML file in TextWrangler or whatever, and paste in the PHP code that way.

Upload it, confirm that it works, done.


Top
 Profile  
 
 Post subject: Re: - PHP -
PostPosted: Sun Apr 05, 2009 7:51 am 
Offline

Joined: Sun Sep 18, 2005 12:12 pm
Posts: 10
Location: London
Thanks for that, but that's actually a useless answer.

I'm asking for help as how to insert PHP into my Create website, but you've not actually helped at all.

No mention of where to insert the txt file that you ask me to create and use, no mention of where I shouldn't insert the PHP code.

In short, no help at all.


In separate news, I believe I have worked out ow to insert the PHP code into the Embed area...
...Though I'm still working on integrating PHP interactivity into my websites.


Top
 Profile  
 
 Post subject: Re: - PHP -
PostPosted: Sun Apr 05, 2009 9:30 pm 
Offline

Joined: Mon Mar 15, 2004 10:07 am
Posts: 110
Location: Chicago, IL
Synner667 wrote:
Thanks for that, but that's actually a useless answer.


Wow.

Ask a question without providing an example URL or attachment, and you run that risk.

Best of luck. Maybe someone else can help you, but I can assure that I have no interest in even attempting to help someone with an attitude like you're demonstrating.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group