Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cfvogue

    restart apache from php

    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
  2. cfvogue

    creating a recurring appointment calendar?

    try this: <cfif DayOfWeek(now()) eq 4 and Day(NOW()) gt 7 and Day(NOW()) lte 14> your code..... </cfif> chau
  3. cfvogue

    use html &lt;a href=&quot;#TOP&quot;&gt; with CF

    use this: <a href=&quot;###cfvariable#&quot;>some text</a> the first two pound signs will display a single pound sign. The ones surrounding 'cfvariable' you know about. chau
  4. cfvogue

    get field names

    if you're using CFMX with mysql, as i am, you can simply do the following: <cfquery name=&quot;MyQueryName&quot; datasource=&quot;...> describe table </cfquery> <cfdump var=&quot;#MyQueryName#&quot;> N.B requires MX version of ColdFusion chau
  5. cfvogue

    blank screen apache linux help?

    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...
  6. cfvogue

    Cold Fusion error

    you'd better rename your field in the recordset too!!! chau
  7. cfvogue

    passing variable and changing location

    You could submit a form by clicking a link i guess. Just give your form the method=&quot;post&quot; attribute. <form name=&quot;MyForm&quot; method=&quot;post&quot; action=&quot;actionpage.cfm&quot;> <a href=&quot;javascript:document.MyForm.submit();&quot;>some text</a> </form>
  8. cfvogue

    Cold Fusion error

    ...value=&quot;<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
  9. cfvogue

    hi all, can anyone give me an ex

    ok, no hard feelings. tnx for your response! chau
  10. cfvogue

    hi all, can anyone give me an ex

    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...
  11. cfvogue

    hi all, can anyone give me an ex

    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
  12. cfvogue

    ListBox - Selecting a value in code

    something like this? <cfparam name=&quot;form.MyPassedValue&quot; default=&quot;5&quot;> <Select name=&quot;Consequence1&quot;> <option value=&quot;5&quot; <cfif form.MyPassedValue eq 5>selected</cfif>>Choice5</option> <option value=&quot;4&quot; <cfif form.MyPassedValue...
  13. cfvogue

    ListBox - Selecting a value in code

    Do you mean this? <select name=&quot;MyListBox&quot;> <cfoutput query=&quot;MyQuery&quot; <cfif MyValue eq Form.MyListBox>selected</cfif>> <option value=&quot;#MyValue#&quot;>#MyItem#</option> </cfoutput> </select> chau
  14. cfvogue

    special characters

    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 &quot;connection string&quot; to...
  15. cfvogue

    Current folder name

    You might look at the cgi variables #cgi.script_name# and #cgi.path_translated#. chau
  16. cfvogue

    removal of spaces for a telephone number

    Try this: <cfset MyNumber = Replace(MyNumber,&quot; &quot;,&quot;&quot;,&quot;all&quot;)> <cfif Left(MyNumber,1) eq 0> <cfset MyNumber = Right(MyNumber,Len(MyNumber)-1)> </cfif> chau
  17. cfvogue

    query that returns more than 1000 rows of data

    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=&quot;qGetNumber&quot;> select count(your_primary_key_field) as NumberOfRecords from your_table where condition = &quot;is met&quot; </cfquery> <cfif...
  18. cfvogue

    sshd dead but pidfile exitst??

    Thanx a lot fluid11, That did the job. It works fine now!!!
  19. cfvogue

    Clearing certain FORM variables.

    i think the best way to prevent from reuploading is just using a <cflocation url=&quot;somepage.cfm&quot;> on you actionpage. Users can refresh that page till they drop without going through your actionpage agian. chau
  20. cfvogue

    sshd dead but pidfile exitst??

    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

Part and Inventory Search

Back
Top