Hi all,
Do you guys no if it's possible to restart apache from a php script? Or, to be more precise, add VirtualHosts on the fly?
If it is possible it's probably not very safe. Anyway, does anyone have anything helpful to say?
Thanks a lot
use this:
<a href="###cfvariable#">some text</a>
the first two pound signs will display a single pound sign. The ones surrounding 'cfvariable' you know about.
chau
if you're using CFMX with mysql, as i am, you can simply do the following:
<cfquery name="MyQueryName" datasource="...>
describe table
</cfquery>
<cfdump var="#MyQueryName#">
N.B requires MX version of ColdFusion
chau
Hi all,
I guess this has been asked before, but i just can't find anything to get this to work.
I use redhat 9 and installed apache 2.0.47. After that i installed the latest version of php. Everything seemed to do well, but i get a blank page when i call a phscript in my browser. The phpscript...
You could submit a form by clicking a link i guess.
Just give your form the method="post" attribute.
<form name="MyForm" method="post" action="actionpage.cfm">
<a href="javascript:document.MyForm.submit();">some text</a>
</form>
...value="<cfoutput>#Recordset1.First Name#</cfoutput>
It looks like Recordset.First Name contains a space.
Spaces are not alowed in variables when outputting them in Coldfusion.
make it Recordset1.First_Name
chau
Nagrom,
I accedently forgot the title. For all i know this is the javascript tek-tips forum. I am not new to the tek-tips forums and active in other ones. I am not being rude, nor asking anyone to do my work. I would just like to know if there's a simple javascript which i can use to insert an...
hi all,
can anyone give me an example of how to insert an image into a rich textarea clicking, say, a button. I know i can download the entire rich text apps, but i just need to be able to insert links and images (for a chat application).
Thnx in advance
chau
Hi,
I know this issue has been discussed before, but i just don't get it to work and it frustrates me. It's about the strange characters like €,ë,ï under CFMX. I've looked up many helpforums and found some usefull topics.
EG in the cfadministrator i set the "connection string" to...
make sure you add indexes to your tablefields where possible. Before you run the whole query, you might run a smaller query like:
<cfquery name="qGetNumber">
select count(your_primary_key_field) as NumberOfRecords from your_table
where condition = "is met"
</cfquery>
<cfif...
i think the best way to prevent from reuploading is just using a <cflocation url="somepage.cfm"> on you actionpage. Users can refresh that page till they drop without going through your actionpage agian.
chau
Hi fluid11,
tnx a lot for your reply.
I did what you told me, but it won't let me remove sshd.pid in /var/run
Even when i try to chmod the file as su it says operation permitted. Is there a way to force it?
tnx again
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.