HTML Template but I need php files.
Hello I have an html template but I need to create a php file for a login system. I went to the server behaviors tab and changed it to a php file but will it update based on template? Also I need to insert a form into a editable region I made into the body of the forum but everytime I do it when I look on the design screen it looks completely messed up but when I go to live view it looks fine. Any idea why?
Hello I have an html template but I need to create a php file for a login system. I went to the server behaviors tab and changed it to a php file but will it update based on template? Also I need to insert a form into a editable region I made into the body of the forum but everytime I do it when I look on the design screen it looks completely messed up but when I go to live view it looks fine. Any idea why?
If you have set up a testing server, your documents should automatically have the PHP extension. Then if you create a new document from a DWT file, this will have the PHP extension.
I think it would be a good idea to have a look at a David Powers tutorial on dynamic sites which can be found here http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
In the same section, there are also tutorials on how to use template files.
I hope this helps.
Ben
Similar Messages
-
MAMP home page works, but my own PHP file doesn't.
MAMP 1.7.2 is working oddly. I just installed it and the homepage works fine at the default address:
http://localhost:8888/MAMP/?language=English
However when I create a "hello, world" foo.php in the MAMP/test directory and load it with this URL:
http://localhost:8888/MAMP/test/foo.php
I get a page not found error.
Same with an .html file.
My sole clue: the file /Applications/MAMP/logs/apacheerrorlog contains this line:
[Fri Oct 10 16:29:50 2008] [error] [client ::1] File does not exist: /Applications/MAMP/bin/mamp/foo
Not clear to me why it expects the /bin/mamp extra directories.
And /Applications/MAMP/conf/apache/httpd.conf has this line, which seems right:
DocumentRoot "/Applications/MAMP/htdocs"
Any ideas why HTML and PHP files don't work?
Rig:
MAMP 1.7.2
Apache port: 8888
MySQL port: 8889
MacBook Air 1.6 Ghz Core 2 Duo
OS/X 10.5.5
2G RAM
80G hard disk, 50G freeActually I do know something, because it(url address) above does work on my Panther MAMP to load bs.php & bs.html files out of htdocs. And start page loads fine.
-
How does one import an html template into Adobe Muse?
I have downloaded several templates advertised as Muse templates but they all appear to be html5 templates. Can one import them into Adobe Muse?
You can't import an HTML template. You need the original .muse file. If they are Muse templates you would have gotten them as a .muse file.
-
Curl in java (needs Java files in JCurl_code)?
HI,
I am new to java,So I hav used curl functions in php.But in java I hav to use same curl function to connect URL thru java pgm.So I hav i Got JCurl .But i dont have Curl java files & Curl Glue etc.For installing curl in java any dll files must be loaded...? So can u help me out. Iam in Hectic .So just can u send links regardings this class files.please I eil be waiting for reply........
JCurl_code provides API.But I need java files of Curl.
Thanx In advance.Hello,
I need to to execute java pgm from which i need open the url which i have mentioned in pgm.But i have got JCurl_code in which only API 's is there.But I need to get source files Curl.java Curl_Glue.java,etc. And I wil use this curl for parsing purpose. Just I need java files.
package org.curl;
public class curl_java
public static void main(String args[])
try
//System.loadLibrary("javacurl");
String url = "http://www.yahoo.com";
CURL c = new CURL();
CurlGlue cg = new CurlGlue();
cg.setopt(c.OPT_URL,url);
int result = cg.perform();
cg.finalize();
System.out.println("result:"+result);
catch(Exception e)
System.out.println("Exception:"+e);
Here is the link of curl _ java package : http://sourceforge.net/projects/javacurl . So I am need of Java files
I am in trouble. So plz help me out
prashu.dr -
SSI/'Include' a .php file?
Hi All,
Server Side Includes in DW look much more complex than they
used to be! A
few years ago I used them a lot. Now I read the 'Help' and
I'm bewildered!
I began wondering about this because we have PHP file
containing n HTML
fragment - on one server - and wish to include it in pages
elsewhere. The
Joomla sites will pull it in no prob.
Q: Is there any way that a static DW site with .html pages
can 'include'
that code too?
Thanks All,
John> Q: Is there any way that a static DW site with .html
pages can 'include'
> that code too?
You are asking if a static HTML page can include a PHP file
fragment? Sure
it can, using an HTML include, but be prepared for the static
page to not
execute any of the PHP in the fragment.
> Server Side Includes in DW look much more complex than
they used to be! A
> few years ago I used them a lot. Now I read the 'Help'
and I'm bewildered!
They are exactly the same as they used to be. Nothing has
changed.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"johnivan" <[email protected]> wrote in message
news:giapm8$b1l$[email protected]..
> Hi All,
> Server Side Includes in DW look much more complex than
they used to be! A
> few years ago I used them a lot. Now I read the 'Help'
and I'm bewildered!
>
> I began wondering about this because we have PHP file
containing n HTML
> fragment - on one server - and wish to include it in
pages elsewhere. The
> Joomla sites will pull it in no prob.
>
> Q: Is there any way that a static DW site with .html
pages can 'include'
> that code too?
>
> Thanks All,
> John
> -
Finding Html template for Internet Serivce BBPCF02 and BBPCF03
Hi ,
We need to change some spelling mistake in "Confirm Goods/Services " so for that i think we need Html template but i searched in SE80 but for BBPCF02 I am not able to get the template can any one
sugest me how to carry the changes to the fields in the Confirm Goods/Services .
Thanks
Channappa SajjanarHi Pradeep ,
In the SRM portal we have "Confirm Goods / Services" there are some spelling mistakes which we need to change like Calculate(calcullae) so for that i view the source i find the below template
Template: bbpcf02/99/saplbbp_cf_2200.html .
but when i gone to SE80 and entered the Internet serivice "BBPCF02" but it will not display folder 99 and any of the html templates .
Thanks -
Does a PHP file need to be attached to the HTML file?
I know that CSS files need to attach to the html files, but what about PHP? Because when I try to test it, it asks me to make it a test server, but it never works. I know I'm missing. Please help. Thank you!
This is my html form:
<form action="form_process" method="post" name="contact_form">
<form class="form">
<p class="name">
<input type="text" name="name" id="name" placeholder="John Doe" />
<label for="web">Name</label>
</p>
<p class="email">
<input type="text" name="email" id="email" placeholder="[email protected]" />
<label for="email">Email</label>
</p>
<p class="phone">
<input type="text" name="phone" id="phone" placeholder="555-555-5555" />
<label for="phone">Phone</label>
</p>
<p class="text">
<textarea name="text" placeholder="Questions or Comments"></textarea>
</p>
<p class="submit">
<input type="submit" value="Send" />
</p>
</form>
This is my PHP:
<?php
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$message = $_POST['text'];
$to = "[email protected]";
$subject = "New Message";
mail ($to, $subject, $message, "From: " . $name);
echo "Your message has been sent."
?>No. A Local Testing Server is software that you install on your local computer so you can parse PHP scripts to test them in your local browsers. It's not very complicated.
Get one of the following Apache servers for your OS and follow the installation instructions.
WAMP for Windows
http://www.wampserver.com/en/
XAMPP for Windows
http://www.apachefriends.org/en/xampp-windows.html
XAMPP for Mac
http://www.apachefriends.org/en/xampp-macosx.html
MAMP for Mac
http://www.mamp.info/en/downloads/index.html
See Setting up a PHP environment in Dreamweaver
http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
Nancy O. -
Xmonad.hs file: I need a template, but the official one gives errors
I just installed Xmonad and I am LOVING it, but I need some help setting up an xmonad.hs file. I created one in ~/.xmonad/xmonad.hs and looked for a well-commented template since I don't know any Haskell (or any programming language, for that matter). This is the one I copied to the file:
http://www.haskell.org/haskellwiki/Xmon … _xmonad.hs
Which gives:
-- xmonad example config file.
-- A template showing all available configuration hooks,
-- and how to override the defaults in your own xmonad.hs conf file.
-- Normally, you'd only override those defaults you care about.
import XMonad
import System.Exit
import qualified XMonad.StackSet as W
import qualified Data.Map as M
-- The preferred terminal program, which is used in a binding below and by
-- certain contrib modules.
myTerminal = "xterm"
-- Width of the window border in pixels.
myBorderWidth = 1
-- modMask lets you specify which modkey you want to use. The default
-- is mod1Mask ("left alt"). You may also consider using mod3Mask
-- ("right alt"), which does not conflict with emacs keybindings. The
-- "windows key" is usually mod4Mask.
myModMask = mod1Mask
-- The mask for the numlock key. Numlock status is "masked" from the
-- current modifier status, so the keybindings will work with numlock on or
-- off. You may need to change this on some systems.
-- You can find the numlock modifier by running "xmodmap" and looking for a
-- modifier with Num_Lock bound to it:
-- > $ xmodmap | grep Num
-- > mod2 Num_Lock (0x4d)
-- Set numlockMask = 0 if you don't have a numlock key, or want to treat
-- numlock status separately.
myNumlockMask = mod2Mask
-- The default number of workspaces (virtual screens) and their names.
-- By default we use numeric strings, but any string may be used as a
-- workspace name. The number of workspaces is determined by the length
-- of this list.
-- A tagging example:
-- > workspaces = ["web", "irc", "code" ] ++ map show [4..9]
myWorkspaces = ["1","2","3","4","5","6","7","8","9"]
-- Border colors for unfocused and focused windows, respectively.
myNormalBorderColor = "#dddddd"
myFocusedBorderColor = "#ff0000"
-- Default offset of drawable screen boundaries from each physical
-- screen. Anything non-zero here will leave a gap of that many pixels
-- on the given edge, on the that screen. A useful gap at top of screen
-- for a menu bar (e.g. 15)
-- An example, to set a top gap on monitor 1, and a gap on the bottom of
-- monitor 2, you'd use a list of geometries like so:
-- > defaultGaps = [(18,0,0,0),(0,18,0,0)] -- 2 gaps on 2 monitors
-- Fields are: top, bottom, left, right.
myDefaultGaps = [(0,0,0,0)]
-- Key bindings. Add, modify or remove key bindings here.
myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
-- launch a terminal
[ ((modMask .|. shiftMask, xK_Return), spawn $ XMonad.terminal conf)
-- launch dmenu
, ((modMask, xK_p ), spawn "exe=`dmenu_path | dmenu` && eval \"exec $exe\"")
-- launch gmrun
, ((modMask .|. shiftMask, xK_p ), spawn "gmrun")
-- close focused window
, ((modMask .|. shiftMask, xK_c ), kill)
-- Rotate through the available layout algorithms
, ((modMask, xK_space ), sendMessage NextLayout)
-- Reset the layouts on the current workspace to default
, ((modMask .|. shiftMask, xK_space ), setLayout $ XMonad.layoutHook conf)
-- Resize viewed windows to the correct size
, ((modMask, xK_n ), refresh)
-- Move focus to the next window
, ((modMask, xK_Tab ), windows W.focusDown)
-- Move focus to the next window
, ((modMask, xK_j ), windows W.focusDown)
-- Move focus to the previous window
, ((modMask, xK_k ), windows W.focusUp )
-- Move focus to the master window
, ((modMask, xK_m ), windows W.focusMaster )
-- Swap the focused window and the master window
, ((modMask, xK_Return), windows W.swapMaster)
-- Swap the focused window with the next window
, ((modMask .|. shiftMask, xK_j ), windows W.swapDown )
-- Swap the focused window with the previous window
, ((modMask .|. shiftMask, xK_k ), windows W.swapUp )
-- Shrink the master area
, ((modMask, xK_h ), sendMessage Shrink)
-- Expand the master area
, ((modMask, xK_l ), sendMessage Expand)
-- Push window back into tiling
, ((modMask, xK_t ), withFocused $ windows . W.sink)
-- Increment the number of windows in the master area
, ((modMask , xK_comma ), sendMessage (IncMasterN 1))
-- Deincrement the number of windows in the master area
, ((modMask , xK_period), sendMessage (IncMasterN (-1)))
-- toggle the status bar gap
, ((modMask , xK_b ),
modifyGap (\i n -> let x = (XMonad.defaultGaps conf ++ repeat (0,0,0,0)) !! i
in if n == x then (0,0,0,0) else x))
-- Quit xmonad
, ((modMask .|. shiftMask, xK_q ), io (exitWith ExitSuccess))
-- Restart xmonad
, ((modMask , xK_q ),
broadcastMessage ReleaseResources >> restart "xmonad" True)
++
-- mod-[1..9], Switch to workspace N
-- mod-shift-[1..9], Move client to workspace N
[((m .|. modMask, k), windows $ f i)
| (i, k) <- zip (XMonad.workspaces conf) [xK_1 .. xK_9]
, (f, m) <- [(W.greedyView, 0), (W.shift, shiftMask)]]
++
-- mod-{w,e,r}, Switch to physical/Xinerama screens 1, 2, or 3
-- mod-shift-{w,e,r}, Move client to screen 1, 2, or 3
[((m .|. modMask, key), screenWorkspace sc >>= flip whenJust (windows . f))
| (key, sc) <- zip [xK_w, xK_e, xK_r] [0..]
, (f, m) <- [(W.view, 0), (W.shift, shiftMask)]]
-- Mouse bindings: default actions bound to mouse events
myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $
-- mod-button1, Set the window to floating mode and move by dragging
[ ((modMask, button1), (\w -> focus w >> mouseMoveWindow w))
-- mod-button2, Raise the window to the top of the stack
, ((modMask, button2), (\w -> focus w >> windows W.swapMaster))
-- mod-button3, Set the window to floating mode and resize by dragging
, ((modMask, button3), (\w -> focus w >> mouseResizeWindow w))
-- you may also bind events to the mouse scroll wheel (button4 and button5)
-- Layouts:
-- You can specify and transform your layouts by modifying these values.
-- If you change layout bindings be sure to use 'mod-shift-space' after
-- restarting (with 'mod-q') to reset your layout state to the new
-- defaults, as xmonad preserves your old layout settings by default.
-- The available layouts. Note that each layout is separated by |||,
-- which denotes layout choice.
myLayout = tiled ||| Mirror tiled ||| Full
where
-- default tiling algorithm partitions the screen into two panes
tiled = Tall nmaster delta ratio
-- The default number of windows in the master pane
nmaster = 1
-- Default proportion of screen occupied by master pane
ratio = 1/2
-- Percent of screen to increment by when resizing panes
delta = 3/100
-- Window rules:
-- Execute arbitrary actions and WindowSet manipulations when managing
-- a new window. You can use this to, for example, always float a
-- particular program, or have a client always appear on a particular
-- workspace.
-- To find the property name associated with a program, use
-- > xprop | grep WM_CLASS
-- and click on the client you're interested in.
-- To match on the WM_NAME, you can use 'title' in the same way that
-- 'className' and 'resource' are used below.
myManageHook = composeAll
[ className =? "MPlayer" --> doFloat
, className =? "Gimp" --> doFloat
, resource =? "desktop_window" --> doIgnore
, resource =? "kdesktop" --> doIgnore ]
-- Whether focus follows the mouse pointer.
myFocusFollowsMouse :: Bool
myFocusFollowsMouse = True
-- Status bars and logging
-- Perform an arbitrary action on each internal state change or X event.
-- See the 'DynamicLog' extension for examples.
-- To emulate dwm's status bar
-- > logHook = dynamicLogDzen
myLogHook = return ()
-- Now run xmonad with all the defaults we set up.
-- Run xmonad with the settings you specify. No need to modify this.
main = xmonad defaults
-- A structure containing your configuration settings, overriding
-- fields in the default config. Any you don't override, will
-- use the defaults defined in xmonad/XMonad/Config.hs
-- No need to modify this.
defaults = defaultConfig {
-- simple stuff
terminal = myTerminal,
focusFollowsMouse = myFocusFollowsMouse,
borderWidth = myBorderWidth,
modMask = myModMask,
numlockMask = myNumlockMask,
workspaces = myWorkspaces,
normalBorderColor = myNormalBorderColor,
focusedBorderColor = myFocusedBorderColor,
defaultGaps = myDefaultGaps,
-- key bindings
keys = myKeys,
mouseBindings = myMouseBindings,
-- hooks, layouts
layoutHook = myLayout,
manageHook = myManageHook,
logHook = myLogHook
So I copied all this into my new xmonad.hs file and then restarted xmonad with mod+q, but a window popped up giving me this error:
Error detected while loading xmonad configuration file: /home/agi/.xmonad/xmonad.hs
on the commandline:
Warning: -no-recomp is deprecated: Use -fforce-recomp instead
xmonad.hs:141:10: Not in scope: `modifyGap'
xmonad.hs:141:38: Not in scope: `XMonad.defaultGaps'
xmonad.hs:273:8: Not in scope: `defaultGaps'
Please check the file for errors.
I'm not exactly sure what any of this means. If someone could help me decipher this or, better yet, post a better (well-commented so I can understand it) default xmonad.hs file that I can use, that would be great.Alright! I've got xmonad almost set up! One major thing I still want to do is add some sort of pager-like display in the top left of xmobar. Just to show workspaces 1-9 and highlight the one I'm in (giving a preview of my windows or telling me which ones I have windows in would be great, but not absolutely necessary).
I can't find anything (that I understand) online. Help?
Here's my xmonad.hs:
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
myManageHook = composeAll
[ className =? "Gimp" --> doFloat
main = do
xmproc <- spawnPipe "/path/to/xmobarbinary /home/jgoerzen/.xmobarrc"
-- make sure to edit paths to xmobar and .xmobarrc to match your system.
-- If xmobar is in your $PATH, with config ~/.xmobarrc you don't need the
-- xmobar path or config file, use: xmproc <- spawnPipe "xmobar"
xmonad $ defaultConfig
{ manageHook = manageDocks <+> manageHook defaultConfig
, layoutHook = avoidStruts $ layoutHook defaultConfig
, logHook = dynamicLogWithPP $ xmobarPP
{ ppOutput = hPutStrLn xmproc
, ppTitle = xmobarColor "green" "" . shorten 50
, modMask = mod1Mask
} `additionalKeys`
[ ((mod1Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
, ((controlMask, xK_Print), spawn "scrot -s")
, ((0, xK_Print), spawn "scrot")
and here's my xmobarrc:
Config { font = "-Misc-Fixed-Bold-R-Normal--13-120-75-75-C-70-ISO8859-1"
, bgColor = "black"
, fgColor = "grey"
, position = TopW L 90
, commands = [ Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Date "%a %b %_d %l:%M" "date" 10
, Run StdinReader
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %cpu% | %memory% * %swap% <fc=#ee9a00>%date%</fc> |" -
To have my form information mailed to me, do I need to have a php file?
I've got an account with godaddy, and have tried to make a php document (don't understand the coding) for a simple form, but I can't get the results to show up in my email. I just can't figure out what to put in my php. I copied a template, but none of the data shows up in my email, only the subject. (see at end) Isn't there a much easier way to do all this?
-Kate
Here's the form
<form action="http://www.kateharperdesigns.com/sendresults.php" method="post" enctype="text/plain" id="contactform" style="font-size:.7em">
<label>Company<br />
<input type="text" name="company" id="company" />
</label><br />
<label>Products you manufacture<br />
<input type="text" name="products" id="products" />
</label><br />
<label>Email Address<br />
<input type="text" name="email" id="email" />
</label>
<label>
<input type="submit" name="subscribe" id="subscribe2" value="Submit" />
</label>
</form>
<?php
//--------------------------Set these paramaters--------------------------
// Subject of email sent to you.
$subject = 'NEW DESIGN SUBSCRIPTION';
// Your email address. This is where the form information will be sent.
$emailadd = '...edited...';
// Where to redirect after form is processed.
$url = 'http://www.kateharperdesigns.com/redirect.html';
// Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
$req = '1';
// --------------------------Do not edit below this line--------------------------
$text = "Results from form:\n\n";
$space = ' ';
$line = '
foreach ($_POST as $key => $value)
if ($req == '1')
if ($value == '')
{echo "$key is empty";die;}
$j = strlen($key);
if ($j >= 20)
{echo "Name of form element $key cannot be longer than 20 characters";die;}
$j = 20 - $j;
for ($i = 1; $i <= $j; $i++)
{$space .= ' ';}
$value = str_replace('\n', "$line", $value);
$conc = "{$key}:$space{$value}$line";
$text .= $conc;
$space = ' ';
mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
?>
Message was edited by: Murray *ACP*>I thought I need a 1) form in an html document
Correct
>2) a php document in my dreamweaver file on the same level as my index file
The php script (or any server side script) does not need to be in the same directory level as your index file or any other html file. You can put it anywhere in the site and provide the path in the form's action.
>and form file 3)some way to connect with the
>server so it knows to process my data.
Not sure exactly what you mean but the script can connect to your mail server to email the message or insert data to a database server - or several other possibilities.
>Then when I hear that godaddy has it's own script. I have no clue "what that means."
Godaddy provides server side scripts that you can use.
>Does that mean I don't need a php file?
It means that you use their php ( or asp) script.
>but I know that seems unlikely because
>there would be no way for godaddy server to
>know how I want it processed.
Many mail form scripts can generically handle form processing. They iterate through all of the form fields and process them accordingly. You need to review the script documentation to make sure you setup your form correctly. -
How to use html template on a php script, if possible..
Hello,
I buy it smartjobboard script which is made in php (
''SmartJobBoard software design and layout is based on ‘Templates’ system.
Templates used in the software are built on html and Smarty. '')
. This is advanced job board script with user registrations/payment getway/ search ,etc. This script have default templates which are very old and ugly. So, I deciced it to build my own template. The only problem is that I didn't knew that my script is made php, so I lost 2 weeks working on a html job template with maps and everything need it for a nice site hoping that I will only have to paste some codes on my html code.. Now I'am stuck with my template and shocked with php, although I have acces to edit php template I found it impossible to make it to the level I create it my htlml template (not that I have tried..) . I have around 30 js files and 5 css on my template.
I tried to download my own php site on pc hoping I will have html format /it works only as a template but it does not connect to database for login/register/search ,etc...
There is any hope for my to actually use my html template ?
thank youLooks like you need a Template that is designed to work with your scripts.
They appear to have serveral you could use.
http://www.smartjobboard.com/templates.html
If you want a customized Template, contact one of their partners to help you.
http://www.smartjobboard.com/custom-design/
Nancy O. -
How to add a comment in a php file which has html code
Hi
I have a html file which I renamed .php after adding a form. I discovered that the html comment text I was using - <!--this is a comment --> - was affecting how the page rendered, particularly in IE9.
My question is, now that it is a php file do I need to change all the comments syntax? I started to do it using the "apply comment" button in CS5 i.e. syntax: <?php /*?>form<?php */?>.
Is this the right way to do it? It gives "php" icons in design view but appears to render ok.
ThanksPHP comments:
<?php
//This is a comment
This is
a php comment
block
?>
Use PHP comments inside PHP scripts/code.
HTML comments:
<!--comment-->
<!--this is
an html comment
block-->
Use HTML comments inside HTML code.
CSS Comments:
/*comment*/
/*this is
a css comment
block*/
Use CSS comments inside CSS code (either embedded or external).
JavaScript comments:
//this is a single line comment
//this is another single line comment
/*this is a multi-line
javascript
comment
Use JavaScript comments inside JavaScript code (either embedded or external).
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
How to create HTML fragment and PHP file for CONTACT FORM?
Hello!
I need to add a contact form to my website.
I don't want to use wufoo or similar.
Can someone write a code to have a form:
NOME:
MAIL:
MESSAGGIO:
and file .php ?
Regards.
Thanks a lot.Where are you publishing your site to? If MMe, then MobileMe does not support php and you don't need php to create a contact form - just good old html.
If you are uploading to a server/host such as GoDaddy, then you can use the FormMail option too, but you still need to write your own html code - others will not do it for you.
I would suggest that you visit this site - http://www.w3schools.com. This site tells you about how to write html code for most things, including contact and feedback forms. Look at this and then write your own code from this.
If you can't manage to do it, then I would suggest that you need to use something like http://www.wufoo.com or GoogleDocs - Google Docs is a good alternative.
Also, do a search of this forum for contact or contact and feedback forms where you will find lots of questions on this and where you will then find code examples that have been linked to.
If you try it yourself, you will learn more quickly rather than asking others to do it for you. -
Converting a html template to php
How do I convert my html template to a php template? Any help
would be appreciated.
ThanksYou do not need to do anything.
"foo.dwt" can be used to create HTML, or PHP child pages.
If you really want to do it, though, you can rename foo.dwt
to foo.dwt.php
(using DW's Files panel) and let DW adjust the pages
accordingly.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"littlemax" <[email protected]> wrote in
message
news:f1sodn$6kb$[email protected]..
> How do I convert my html template to a php template? Any
help would be
> appreciated.
>
> Thanks -
Muse creates .php files instead .html files when directly uploaded on host in program
When i use reCaptcha in Adobe Muse it creates index.php files when i click upload on ftp host. If i export it as html, then it works correctly.
For my own Website it's not a problem (Hoststar.ch), but it appears to be a problem for other hosting providers (Genotec.ch).
Also if there is a .htdocs file in the folder im exporting it to, it writes a "Muse Generated redirects", but it still won't for Genotec.ch.
If there is no .htdocs file in the folder, it also won't create one.
Is that problem fixable or what do i need to do?Hi,
Adobe Muse does not generates .htdocs file. Did you check it with your host, if it is available for you on the server? -
Dreamweaver templates not updating *.php file
Hello everyone,
I have been given an exisiting website to update that uses
Dreamweaver templates.
I have made the changes successfully within the content.dwt
file, saved it, and then uploaded both the new content.dwt file and
the related *.htm pages that were linked to it.
After going to the website to double check the new pages I
found a *.php file that uses the same template, content.dwt, but it
never asked to update that particular file.
So, I opened the *.php file in Dreamweaver and tried to apply
changes from the content.dwt file to it using: Templates - Update
current page, but no such luck. Since there is no code at the start
of this file like the other *.htm files how do I "connect" it with
the newly updated template. I tried making a small change on the
content.dwt file so see what files would come up in the "do you
wish to update..." list but for some reason the *.php file is not
there.
Perhaps the answer is fairly obvious to someone who has
worked with Templates a lot but since I have just started working
with templates I still have a large knowledge gap in this area.
Any help would be appreciated.
Many thanks
Mr ZeddCan you post a link to the PHP page, please? This will allow
me to see the
HTML markup on it....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Mr Zedd" <[email protected]> wrote in
message
news:eviqn8$ntm$[email protected]..
> Hello everyone,
>
> I have been given an exisiting website to update that
uses Dreamweaver
> templates.
>
> I have made the changes successfully within the
content.dwt file, saved
> it,
> and then uploaded both the new content.dwt file and the
related *.htm
> pages
> that were linked to it.
>
> After going to the website to double check the new pages
I found a *.php
> file
> that uses the same template, content.dwt, but it never
asked to update
> that
> particular file.
>
> So, I opened the *.php file in Dreamweaver and tried to
apply changes from
> the
> content.dwt file to it using: Templates - Update current
page, but no such
> luck. Since there is no code at the start of this file
like the other
> *.htm
> files how do I "connect" it with the newly updated
template. I tried
> making a
> small change on the content.dwt file so see what files
would come up in
> the "do
> you wish to update..." list but for some reason the
*.php file is not
> there.
>
> Perhaps the answer is fairly obvious to someone who has
worked with
> Templates
> a lot but since I have just started working with
templates I still have a
> large
> knowledge gap in this area.
>
> Any help would be appreciated.
>
> Many thanks
>
> Mr Zedd
>
Maybe you are looking for
-
Hi guys, basically I have backed up my iphone using icloud back up. I was just wondering when I restore this on my new iphone everything will appear right? Cos I have this app with my main pictures and I was wondering if that will restore too along w
-
HT1937 How to change my questions if I forgot the answers?
???
-
No conection between computer and scanner
my all in one scan dos't conect to my labtop
-
Modify Partner Function from Header level to Item level
Hello experts, A help please!!! Scenery: I need to have: - When I create a Sales Order, I can have differents Carrier Partner Fuction for each line. Currently we have a Partner Function (Carrier) defined at Header Level. I need to modify it in order
-
Can i still sync my files even though i have corrupted files?
so i just put my itunes library on my new mac laptop from my pc. on my pc i have that stupid thing where it says it lost the pathway and i guess the files are now corrupted. BUT they still play on my ipod. I have synced my ipod several times not real