Does Dreamweaver generate a PHP script to process forms
I am trying to get a basic form to proess using a downloaded
php script from www.thesitewizard.com. I'm getting this error
message: " . $headersep . "Reply-To: \"$name\" <$email>" .
$headersep . "X-Mailer: chfeedback.php 2.07" ); header( "Location:
$thankyouurl" ); exit ; ?>
www.thesitewizard.com says this error is because the
webserver does not support php but we have our own webserver and
have done a test and it is working correctly.
Does Dreamweaver 8 generate the processing php script that
I'm unaware of? If not, can you recommend a simple processing
script to work on a Windows server that uses php?
Thanks for your help!
HI, there you don`t nead a processing script, there may be 2
problems:
for first you must began the php script with : <?php
for second your file must has a .php extension,
Titti
textures
Similar Messages
-
Developers Toolbox: MX Send Email php script generator
Hi,
I read Foundation PHP for Dreamweaver 8 (I have CS4
Dreamweaver but it’s still a good book).
In it, the author claims, that InterAKT has a product called
“MX Send Email” in the MX Kollection 3 suite of
Dreamweaver extensions, which automates the process of writing the
php script to process and send web email form data from forms
created in Dreamweaver, to the mail server. I went to their site
and it re directs to Adobe, and Adobe claims that they acquired
InterAKT a few years ago and included the above product in the
Developers Toolbox.
I downloaded the developers toolbox yesterday and for the
life of me I can’t figure out where I could find it or how it
works, it's very frustrating. Which makes me wonder if I should
plunk down an extra 300 bucks for the developers toolbox,
documentation is spotty at best – I can’t find any
books or discussion forums on the developers toolbox on how to use
this feature in the dev toolbox. No one seems to know anything
about it on the Extensions forum. Can someone give me some info
about this?
It seems to me there should be a simple way to generate some
PHP script for feedback forms created in Dreamweaver, especially
with the Developers toolkit.My other alternative is to buy a third
party extension to generate the scripts for 30 bucks, but if the
toolkit has it somewhere, where is the documentation or tutorial on
the adobe web site (which I dug for almost all day yesterday?
The Dev Toolkit has an option to insert a Captcha image so I
assume it's possible to do that too...
Or, Are there any on line tutorials which instruct on how to
create an email "Contact Us" form with Dreamweaver 4, which
includes info on writing the php script to process form data and
send it to mail server? If so can anyone direct me to it? Adobe has
one for Dreamweaver CS 3 on their site - but even that section of
the adobe site is not updated for CS4 and the tutorial even claims
that the Developers toolbox is not yet compatible with DW CS4 yet,
which contradicts the system requirements for the Dev Toolbox when
one downloads it.Mr. Powers,
Thanks for the info! BTW I really enjoyed reading your book a
few years ago, it really helped me to learn Dreamweaver back then.
I’m quite rusty now and trying to get back up to speed after
not using it for a few years. Sorry to hear about the ADDT thingy.
Thanks for the thread DWFAQ.info, I bookmarked the threads
and will read them over the weekend. Thanks for the Dreamweaver
Developer Toolbox link too! I had no idea that there was a Dev
toolbox forum I was looking for it on the adobe site for two days,
now I just noticed it has been included on the main index page, I
don’t think it was posted there yesterday but maybe I missed
it.
Does anyone know if there are any books possibly in the works
or being planned for the toolbox?
Also I’m kind of curious now, are the mixed feelings
about the toolbox because it (appears but I’m no expert), to
be a bit less user friendly for the average web designer? Either
that or just not enough documentation yet?
I had never heard about the toolbox until I bought my CS4
suite a few weeks ago. From above -
quote:
"what has now become Adobe Dreamweaver Developer Toolbox"
- what
was the toolbox? Is the toolbox the former InterAKT suite or
extensions? Or was it a mix of theirs and/or other extension
authors stuff? Did adobe buy up a few companies and add their own
stuff to it and market it as the toolbox?
When was the toolbox first released? Recently? Did Adobe
create it out of the merger with InterAkt? I’ve been out of
the web design loop for a few years, just trying to catch up on
what’s been going on lately. -
My merchant account company is raising my rates and making me buy new software. I am looking for a different solution and anyone familiar with credit card processing may be able to give me some good advice.
Up until now, I used software that I installed on my computer that would enable me to process transactions over the Internet. My question is: When someone gives me a credit card number, can I process credit cards using a secure page coded with php? I have a dedicated IP, I can get an SSL certificate, and I can sign up with a credit card gateway like Authorize.net. Why would I need a merchant account (who will charge me a percentage of everything I make)?
There are a number of good php credit card processing scripts available. Can I bypass the merchant account company using a php page that will process my credit cards?Hi John
The php code and the process are tightly related when it comes to processing your own credit card transactions and then passing them on for payment authorisation.
All the items must be done on secure server section of site, and will depend on if you wish to create a user account or not, this is for the non-user account
Customer fills in Their details on order form, (Name address, credit card info, etc.)
Details stored in temp database for such transactions via a php back-end script, using encryption for credit card details.
Customer is then shown a confirm page, with the details of the order, only the last four digits of the credit card number are shown.
If the user clicks 'place order' another back-end php script transfers the details to a permanent database and send the details for transaction conformation to your credit card authorization gateway.
Payment status sent to another back-end processing script for completion of transaction, this is often done via ipn or similar system.
Confirm payment and details are displayed to the customer, along with your transaction number, (this one may be omitted) and customer order no.
That's basically the procedure, the scripts can be on the same page using functions, or separate scripts if using procedural code. There are obviously many variations on this procedure but this one is probably the most common.
The use of 'secure pay' adds another two steps to this procedure in that the customer is sent to their card providers site for a second step to the authentication. There they must give a user name and password, (previously agreed and confirmed, if not it gets more complicated) in order to confirm that they are the card holder, before the actual card transaction can continue. To give you some idea of the complexity of the 'secure pay' set-up, the general extra cost can range anywhere between $1000 and $3000, (depending if done within web site development budget, or as an extra) converting from U/K £ to $.
BTW, The secure pay is normally used by bank card processing, these used to be know as 'Merchant Accounts', but paypal and others started using this term for their accounts which complicated the issue, the bank processing is what I am referring to with this term, and the fact that visa and mastercard use a different processing procedure is why I say, 'avoid'.
(Sorry if this explanation is a little long, but once you go outside the standard card processing, it does get more complex).
I came across a web site (hotscripts.com) and found some PHP scripts
that
process credit cards.
Unless you are happy adding extra security checks to the code to validate your site is the one using it, try to avoid any scripts that are 'in the public domain'. This is not said with any prejudice or doubt regarding the code, more that once you process your own credit cards you become completely responsible, (legally) for any fraud or misuse that results from your scripts/site.
One other item is that I would recommend using PHP:PDO with MySQL transactions and bound-parameters/stored procedures for this, mainly because they adds extra levels of security and redundancy to the procedure, which is not possible using the standard php/mysql code.
Hope this clears a few details up.
Paula Z -
Dreamweaver CS5 using PHP to connect to Postgres
Started learning Dreamweaver using PHP to connect to mySql and dynamically load data into a table on my web page. Dreamweaver worked great as I didn't have to enter any PHP. Now trying to use PHP to connect to a Postgres DB. Does Dreamweaver CS5 support PHP connection to Postgres like it did mySql? Or do I need to enter the PHP commands to connect and access the Postgres myself rather than rely on Dreamweaver (which I did for mySql)?
PHP/Postgres is not a supported server model in DW. You'll need to code by hand, or try to find an extension. Try posting over at the Postgressql forums.
-
Installing an AIR application generated from a PHP script using a badge
I have written a PHP script to return a file with the Content-Type header set to application/vnd.adobe.air-application-installer-package+zip to simulate a response that looks like an AIR file. The Content-Length and Content-Disposition headers are also being sent. I am then writing the bytes of the file to the output. This appears to work in the browser, as the file downloads and can be installed. However, when the badge tries to use the URL, I get a Stream 2032 error. Does the AIR badge not allow a URL without an .air extension, even if the response is in the correct format for an AIR file? If this is allowed, are there other headers that need to be set for this to work?
Thanks,
PaulI figured it out. The AIR installer was stripping out my query parameters. I made the URL use slashes for the parameters with a rewrite instead of ? and & it worked.
-
Why does Dreamweaver upload a blank page when i "put" a .php or .html file that I just edited. It's like Dreamweaver isn't putting the complete file. So when i check my work (refresh the page), it is now blank. This happens about 50 percent of the time and can occur with any of the websites I maintain. (If I pull out my macbookpro, i can edit and upload the page, but the screen is smaller and i would rather be at my desktop). I am using CS5 on a MacPro, operating system 10.7.5.
I've never heard of that type of error before. If it were happening to me, here are a few things I would do...
Verify it's DW
Download Filezilla (free and very nice in reality) and make sure it uploads correctly from there to rule out connection issues
Rebuild Site Cache
From the Files window of your site, click the menu and go to Site > Recreate Site Cache
Delete DW File Cache
If the above does nothing, I'd kill my DW Cache File: http://forums.adobe.com/thread/494811
Uninstall, clean, reinstall
Uninstall the program, use the cleaner tool here: http://www.adobe.com/support/contact/cscleanertool.html to kill everything (Adobe leaves behind things that are picked up again in a normal uninstall/reinstall) then reinstall it. -
Does electronic version Adobe Dreamweaver CSS with PHP content question
Does electronic version Adobe Dreamweaver CSS with PHP come with the labs or files used in a college course? What is on the CD and is there a way to get the content with the Barnes and Noble e-book? This should be a Barnes and Nobel question but they seem to have troubles answering the questions like this.
Electronic version comes with absolutely nothing about your course. All you get is everything in this link:
<http://www.adobe.com/cfusion/tdrc/index.cfm?product=dreamweaver>
The link will give you 30 days of free use of DW after which you might get bored with DW or you will have given up on your course and started your own business to pay your school fees.
hth -
How does execute PHP Script from SAP?
I've already installed SAPRFC and run SAP Function from PHP successfully. But failed when tried execute PHP script from SAP (SM59). Anyone can help me for a clear instruction for this problem?
ThanksHi Max,
here is the Source:
[code]
#!/usr/bin/php -q
<?php
// SAPRFC - Server example
// PHP server function RFC_READ_REPORT
// Require: CGI version PHP, RFC destination defined in SAP R/3 (SM59)
// http://saprfc.sourceforge.net
// Interface definiton for RFC_READ_REPORT
// (generated by saprfc.php - option Generate PHP)
$DEF_RFC_READ_REPORT = array (
array (
"name"=>"SYSTEM",
"type"=>"EXPORT",
"optional"=>"0",
"def"=> array (
array ("name"=>"","abap"=>"C","len"=>8,"dec"=>0)
array (
"name"=>"TRDIR",
"type"=>"EXPORT",
"optional"=>"0",
"def"=> array (
array ("name"=>"NAME","abap"=>"C","len"=>40,"dec"=>0),
array ("name"=>"SQLX","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"EDTX","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"VARCL","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"DBAPL","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"DBNA","abap"=>"C","len"=>2,"dec"=>0),
array ("name"=>"CLAS","abap"=>"C","len"=>4,"dec"=>0),
array ("name"=>"TYPE","abap"=>"C","len"=>3,"dec"=>0),
array ("name"=>"OCCURS","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"SUBC","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"APPL","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"SECU","abap"=>"C","len"=>8,"dec"=>0),
array ("name"=>"CNAM","abap"=>"C","len"=>12,"dec"=>0),
array ("name"=>"CDAT","abap"=>"D","len"=>8,"dec"=>0),
array ("name"=>"UNAM","abap"=>"C","len"=>12,"dec"=>0),
array ("name"=>"UDAT","abap"=>"D","len"=>8,"dec"=>0),
array ("name"=>"VERN","abap"=>"C","len"=>6,"dec"=>0),
array ("name"=>"LEVL","abap"=>"C","len"=>4,"dec"=>0),
array ("name"=>"RSTAT","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"RMAND","abap"=>"C","len"=>3,"dec"=>0),
array ("name"=>"RLOAD","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"FIXPT","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"SSET","abap"=>"C","len"=>1,"dec"=>0),
array ("name"=>"SDATE","abap"=>"D","len"=>8,"dec"=>0),
array ("name"=>"STIME","abap"=>"C","len"=>6,"dec"=>0),
array ("name"=>"IDATE","abap"=>"D","len"=>8,"dec"=>0),
array ("name"=>"ITIME","abap"=>"C","len"=>6,"dec"=>0),
array ("name"=>"LDBNAME","abap"=>"C","len"=>20,"dec"=>0)
array (
"name"=>"PROGRAM",
"type"=>"IMPORT",
"optional"=>"0",
"def"=> array (
array ("name"=>"","abap"=>"C","len"=>40,"dec"=>0)
array (
"name"=>"QTAB",
"type"=>"TABLE",
"optional"=>"0",
"def"=> array (
array ("name"=>"LINE","abap"=>"C","len"=>72,"dec"=>0)
// Create list of PHP server functions
$GLOBAL_FCE_LIST[RFC_READ_REPORT] = saprfc_function_define(0,"RFC_READ_REPORT",$DEF_RFC_READ_REPORT);
// PHP server function
function RFC_READ_REPORT ($fce)
$REPORT = saprfc_server_import ($fce,"PROGRAM");
saprfc_table_init ($fce,"QTAB");
$fd = fopen ($REPORT,"r");
if (!$fd)
return ("NOTFOUND"); // raise exception "NOTFOUND"
while (!feof($fd))
$LINE = fgets ($fd,73);
saprfc_table_append ($fce,"QTAB",array("LINE"=>$LINE));
fclose ($fd);
saprfc_server_export ($fce,"SYSTEM","PHP");
return (true);
// Call script with: ./server.php -a phpgw -g hostname -x sapgw00
$rfc = saprfc_server_accept ($argv);
// Dispatch one function call
$rc = saprfc_server_dispatch ($rfc,$GLOBAL_FCE_LIST);
saprfc_close ($rfc);
?>
[/code]
Regards
Gregor
Message was edited by: Gregor Wolf -
Help downgrade a php script generated by FB back to the old Mysql way
hey all
i am a Flex developer who has written server side stuff with php scripts that were auto-generated by Flash Builder. These scripts use the Mysqli extention, which is not avilable on my shared hosting server. These scripts implement simple CRUD functions to a MySql database. Anyone who has used the data wizard will recognize these scripts.
Just before i pay more bucks and move to a VPS server in order to enable Mysqli, is there anyone out there who can help me translate this script BACK to the old mysql way?
much appriciated, Saar
<?php
class ClientService {
var $username = "******";
var $password = "******";
var $server = "localhost";
var $port = "3306";
var $databasename = "rtdbcbx_saar";
var $tablename = "clients";
var $connection;
* The constructor initializes the connection to database. Everytime a request is
* received by Zend AMF, an instance of the service class is created and then the
* requested method is invoked.
public function __construct() {
$this->connection = mysqli_connect(
$this->server,
$this->username,
$this->password,
$this->databasename,
$this->port
$this->throwExceptionOnError($this->connection);
* Returns all the rows from the table.
* Add authroization or any logical checks for secure access to your data
* @return array
public function getAllClient() {
$stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename");
$this->throwExceptionOnError();
mysqli_stmt_execute($stmt);
$this->throwExceptionOnError();
$rows = array();
mysqli_stmt_bind_result($stmt, $row->ClientID, $row->First, $row->Last, $row->Phone, $row->Email, $row->Chain, $row->Branch, $row->Kiosk, $row->SubmitDate);
while (mysqli_stmt_fetch($stmt)) {
$row->SubmitDate = new DateTime($row->SubmitDate);
$rows[] = $row;
$row = new stdClass();
mysqli_stmt_bind_result($stmt, $row->ClientID, $row->First, $row->Last, $row->Phone, $row->Email, $row->Chain, $row->Branch, $row->Kiosk, $row->SubmitDate);
mysqli_stmt_free_result($stmt);
mysqli_close($this->connection);
return $rows;
* Returns the item corresponding to the value specified for the primary key.
* Add authorization or any logical checks for secure access to your data
* @return stdClass
public function getClientByID($itemID) {
$stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename where ClientID=?");
$this->throwExceptionOnError();
mysqli_stmt_bind_param($stmt, 'i', $itemID);
$this->throwExceptionOnError();
mysqli_stmt_execute($stmt);
$this->throwExceptionOnError();
mysqli_stmt_bind_result($stmt, $row->ClientID, $row->First, $row->Last, $row->Phone, $row->Email, $row->Chain, $row->Branch, $row->Kiosk, $row->SubmitDate);
if(mysqli_stmt_fetch($stmt)) {
$row->SubmitDate = new DateTime($row->SubmitDate);
return $row;
} else {
return null;
* Returns the item corresponding to the value specified for the primary key.
* Add authorization or any logical checks for secure access to your data
* @return stdClass
public function createClient($item) {
$stmt = mysqli_prepare($this->connection, "INSERT INTO $this->tablename (First, Last, Phone, Email, Chain, Branch, Kiosk, SubmitDate) VALUES (?, ?, ?, ?, ?, ?, ?, ?)");
$this->throwExceptionOnError();
mysqli_stmt_bind_param($stmt, 'ssssssss', $item->First, $item->Last, $item->Phone, $item->Email, $item->Chain, $item->Branch, $item->Kiosk, $item->SubmitDate->toString('YYYY-MM-dd HH:mm:ss'));
$this->throwExceptionOnError();
mysqli_stmt_execute($stmt);
$this->throwExceptionOnError();
$autoid = mysqli_stmt_insert_id($stmt);
mysqli_stmt_free_result($stmt);
mysqli_close($this->connection);
return $autoid;
* Updates the passed item in the table.
* Add authorization or any logical checks for secure access to your data
* @param stdClass $item
* @return void
public function updateClient($item) {
$stmt = mysqli_prepare($this->connection, "UPDATE $this->tablename SET First=?, Last=?, Phone=?, Email=?, Chain=?, Branch=?, Kiosk=?, SubmitDate=? WHERE ClientID=?");
$this->throwExceptionOnError();
mysqli_stmt_bind_param($stmt, 'ssssssssi', $item->First, $item->Last, $item->Phone, $item->Email, $item->Chain, $item->Branch, $item->Kiosk, $item->SubmitDate->toString('YYYY-MM-dd HH:mm:ss'), $item->ClientID);
$this->throwExceptionOnError();
mysqli_stmt_execute($stmt);
$this->throwExceptionOnError();
mysqli_stmt_free_result($stmt);
mysqli_close($this->connection);
* Deletes the item corresponding to the passed primary key value from
* the table.
* Add authorization or any logical checks for secure access to your data
* @return void
public function deleteClient($itemID) {
$stmt = mysqli_prepare($this->connection, "DELETE FROM $this->tablename WHERE ClientID = ?");
$this->throwExceptionOnError();
mysqli_stmt_bind_param($stmt, 'i', $itemID);
mysqli_stmt_execute($stmt);
$this->throwExceptionOnError();
mysqli_stmt_free_result($stmt);
mysqli_close($this->connection);
* Returns the number of rows in the table.
* Add authorization or any logical checks for secure access to your data
public function count() {
$stmt = mysqli_prepare($this->connection, "SELECT COUNT(*) AS COUNT FROM $this->tablename");
$this->throwExceptionOnError();
mysqli_stmt_execute($stmt);
$this->throwExceptionOnError();
mysqli_stmt_bind_result($stmt, $rec_count);
$this->throwExceptionOnError();
mysqli_stmt_fetch($stmt);
$this->throwExceptionOnError();
mysqli_stmt_free_result($stmt);
mysqli_close($this->connection);
return $rec_count;
* Returns $numItems rows starting from the $startIndex row from the
* table.
* Add authorization or any logical checks for secure access to your data
* @return array
public function getClient_paged($startIndex, $numItems) {
$stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename LIMIT ?, ?");
$this->throwExceptionOnError();
mysqli_stmt_bind_param($stmt, 'ii', $startIndex, $numItems);
mysqli_stmt_execute($stmt);
$this->throwExceptionOnError();
$rows = array();
mysqli_stmt_bind_result($stmt, $row->ClientID, $row->First, $row->Last, $row->Phone, $row->Email, $row->Chain, $row->Branch, $row->Kiosk, $row->SubmitDate);
while (mysqli_stmt_fetch($stmt)) {
$row->SubmitDate = new DateTime($row->SubmitDate);
$rows[] = $row;
$row = new stdClass();
mysqli_stmt_bind_result($stmt, $row->ClientID, $row->First, $row->Last, $row->Phone, $row->Email, $row->Chain, $row->Branch, $row->Kiosk, $row->SubmitDate);
mysqli_stmt_free_result($stmt);
mysqli_close($this->connection);
return $rows;
* Utility function to throw an exception if an error occurs
* while running a mysql command.
private function throwExceptionOnError($link = null) {
if($link == null) {
$link = $this->connection;
if(mysqli_error($link)) {
$msg = mysqli_errno($link) . ": " . mysqli_error($link);
throw new Exception('MySQL Error - '. $msg);
?>hello derekmosdell, in case this question isn't related to volume of media content in firefox in particular, we probably won't be able to answer that. please refer to apple's support resources or discussion fora instead.
thank you for your understanding! -
Does Dreamweaver CS3 generate RSS feed?
Does Dreamweaver CS3, which I just got, generate RSS feed?
Right now I'm using FeedForAll, but I'd prefer to generate my
site's feed through Dreamweaver. (My site is SlowReads.com.) I've
just switched to a Mac and don't want to pay for a new FeedForAll
license.
If Dreamweaver CS3 doesn't generate RSS feed, does anyone
know if DreamFeeder, an extension available through Adobe's web
site, is okay for Dreamweaver CS3? It says that it's made for MX
& MX 2004.Burt,
You certainly can do this with Dreamweaver CS3 to create RSS
feed. You can take a look at Adobe Labs technologies for further
details.
Adobe Labs | Spry
framework for Ajax technologies Also, you can learn more about
Spry technologies within Dreamweaver Help using function key: "F1".
Please refer to Spry link. There are pretty good information on how
to work with Spry framework through links provided by Dreamweaver
Help itself. Be sure to keep your computer stay connected to the
Internet in order to make it work to connect to whatever web link
source.
[On edit...] Futhermore, there is a link to Spry in
Dreamweaver Developer Center as well, just so you know.
Adobe | Spry freamework
for Ajax Developer Center
[Other editing...]
Adobe
LiveDoc Help | Spry 1.4 Developer Guide
Hope that helps.
Cheers, Brian
quote:
Originally posted by:
Burnt Norton
Does Dreamweaver CS3, which I just got, generate RSS feed?
Right now I'm using FeedForAll, but I'd prefer to generate my
site's feed through Dreamweaver. (My site is SlowReads.com.) I've
just switched to a Mac and don't want to pay for a new FeedForAll
license.
If Dreamweaver CS3 doesn't generate RSS feed, does anyone
know if DreamFeeder, an extension available through Adobe's web
site, is okay for Dreamweaver CS3? It says that it's made for MX
& MX 2004. -
'''php script:'''
<?php
$page = $_GET['page'];
if ($page)
include ("inc/".$page.".php");
else
include ("inc/home.php");
?>
'''Action script 2.0 in flash:'''
on(release){
getURL("index.php?page=new");
}A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.
See http://forums.mozillazine.org/viewforum.php?f=25 -
How do I add PHP Script to an XHTML Page?
I am tring to add a PHP script to my XTHML page in Dream
Weaver. The tag starts <?php and ends ?>. I have uploaded the
script on to another site which I use for testing and it shows the
whole code not the intended presentation. I did read that the
server should support PHP scripts..I have been trying to research
it online however I have had no luck.
I have also tried publishing it to a local folder and it
still didn't work. I am really lost!!!
I am very new to building websites in dreamweaver so laymens
terms would be great!!
Thanks so much!
John1. are you adding the php script in design view or code view?
2. is the file name a .php?
3. does your server support php?
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
<--check this
*Must Read*
http://www.smithmediafusion.com/blog
"jbravo1224" <[email protected]> wrote in
message
news:f32956$fj7$[email protected]..
>I am tring to add a PHP script to my XTHML page in Dream
Weaver. The tag
>starts
> <?php and ends ?>. I have uploaded the script on
to another site which I
> use
> for testing and it shows the whole code not the intended
presentation. I
> did
> read that the server should support PHP scripts..I have
been trying to
> research
> it online however I have had no luck.
>
> I have also tried publishing it to a local folder and it
still didn't
> work. I
> am really lost!!!
>
> I am very new to building websites in dreamweaver so
laymens terms would
> be
> great!!
>
> Thanks so much!
>
> John
> -
I just migrated my web server over to Leopard and I am having an annoying issue with some PHP scripts. When I call a certain subroutine library (specifically Graph->Stroke from the JpGraph PHP library, http://www.aditus.nu/jpgraph/), the PHP code crashes with the following errors recorded in the /var/log/apache2/error_log:
The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
Break on _THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___Y OU_MUST_EXEC_() to debug.
Now, I did a bit of poking around and discovered that Leopard did make a change (for security?) where a process that is forked is no longer allowed to call CoreFoundation routines (see http://developer.apple.com/technotes/tn2005/tn2083.html#SECDAEMONVSFRAMEWORKS). I have a vague idea of CoreFoundation (I am not a MacOS programmer), and I am guessing that the specpfic JpGraph command I am executing is triggering CoreFoundation to do some file handling. I am not sure about this because my own PHP routines that create files work just fine, but this JpGraph package chokes.
Does anyone have any idea if there are some PHP tweaks I could make (via editing the php.ini file) that might prevent "forking" or of any other techniques that might avoid this problem.Hi if you are unable to go to this page after doing some personalizations ,
then you need to do the following :
ACTION PLAN
===========
1. Login to application
2. Select Responsibility Functional Administrator
3. Click Personalization Tab ( Upper Right)
4. For Application , Enter the following: Self-Service Web Applications
5. Click on the Personalized Checkbox
6. Click Go
7. Remove or De-activate your personalization that is causing the issue
8 Re-test your login.
Thanks ,
Raj. -
I've enabled the Apache server on my mac, and when I access my local IP address I can see the web page I've created. However, it appears that the server doesn't process PHP scripts, and just returns the source code of the PHP script when I try to open the script in Safari 4. How do I get the built-in Apache server to process PHP scripts and return the desired result?
PHP is disabled by default. To enable it, you must edit Apache's configuration file. To do this, open up /private/etc/apache2/httpd.conf with a text editor. The file is owned by root, so you'll need appropriate access to modify the file. Text editors like BBEdit or TextWrangler can make this step much easier.
Fairly early on in the configuration file is the section for the Dynamic Shared Object support - these are the modules that Apache loads to enable it to perform various tasks. In this section are a whole bunch of "LoadModule" statements - one for each module that Apache is loading. One of these is for PHP support. In the httpd.conf file on my machine, the built-in PHP module's statement is on line 114, the next to last item in this section. It reads: "#LoadModule php5_module libexec/apache2/libphp5.so" Remove the "#" from the beginning of the line, save the file, and restart Apache.
If you plan on using PHP files as the default page for a directory (index.php, for example), you'll need to add index.php to the Directory Index section (line 225 in my file). Apache looks for them in the order listed, so if you list index.php after the index.html that's already there, Apache will look for index.html when asked for the directory before looking for index.php. If you're going to have index.php for most of your directories, you may want to list it first, before index.html.
With regard to PHP itself, Apple's included PHP isn't any more official that the one I mentioned from Marc Liyanage. They're both compiled from the same source code. And, as far as updating goes, I'd argue that it's easier to update Marc's version, as you simply download an updated version and the installer will overwrite the old version. And, you don't have to wait for Apple to release a new version of OS X or a security update to see if you get a more current version. His versions will almost always be more current than the one Apple provides.
In any event, Marc's version does not remove Apple's version from your system. His installs in /usr/local/ and leaves Apple's version intact. So, you can always go back to Apple's version by changing a few lines in a configuration file. -
Generating schema upgrade scripts
On our project we're currently using Apache Torque Generator to create schema installation scripts for Oracle, MS SQL Server and DB2 with great success. However, making alterations to the schema and capturing these alterations in patch scripts is still a very manual process.
Does anyone know of any open source tools that can help with this task? Either by automatically generating the patch scripts (based on comparison of two schemas), or by using some other means of upgrading (such as a java process that runs and makes changes programmatically). The scripts generated (or process run) would ideally be idempotent.
Cheers,
JoeTake a look at TOAD -quest software-.
There is a Free edition abvailable where you can do a schema compare from which TOAD generates the SQL.
I only use it for Oracle, never looked into using it for MySQL or DB2 so don't know about that.
Message was edited by:
mTeigeler
Maybe you are looking for
-
Please help me, and tell me if this is a hardware issue and I am required to take my phone in to the store to get a new one?
-
Scrambled email messages and web page content
Over the last 2 days I've been experiencing some problems. The content in some of my emails (and on some web pages) is scrambled. It looks like hundreds of fractions on top of each other rather than understandable messages or information. Can anyone
-
Material Group / Vendor Lookup?
Hello, I'm looking for a way to allow a user to select a material group and then display all the vendors for that material group. I have tried BAPI_SOURCEDETERMIN_GETSOS but it does not return any results. I looked for a table with LIFNR and MATKL wi
-
WKT polygon returns extra records on intersect query
We have spatially enabled table with min/max lat/long with 1 degree cell data on which we perform queries coming from an application using well known text. We need to use WKT because we need to support user defined shapes of point, line, polygon, etc
-
I want to assign and change bookmark icons on my bookmark toolbar
Some websites automatically assign an icon when I add them to my bookmark bar. For brevity sake, I delete the description so I can have more bookmarks lined up across the top of the browser page. Other websites do not generate an icon (its an icon of