Mysql functions

I have two questions
1)
after using the mysql_query() function you can read the returned data with mysql_result(), mysql_fetch_assoc() or mysql_fetch_array
1a)
I have always used the mysql_result() function myself would I be correct to think that the difference between this and the other two is that the other two do not need to be put into a loop in order to go through the rows of data one at a time?
1b)
What is the difference between mysql_fetch_assoc() and mysql_fetch_array?
2)
The PHP manual says that use of mysql_result(), mysql_fetch_assoc() or mysql_fetch_array is discouraged and that you should use the MySQLi or PDO_MySQL extensions instead
why is this?

m4hs33r wrote:
So when you say switch to one of the improved extensions what exactly do you mean by this?
How can I still use DW with this achilles heel? Or is it the case that I will have to use other software?
You should no longer use the mysql functions. Use mysqli or PDO.
Dreamweaver's built-in PHP server behaviors rely exclusively on the deprecated mysql functions, and are not suitable for deployment in a modern website. You need to hand-code the database connection and queries. Dreamweaver has built-in code hinting and documentation for both mysqli and PDO. It also supports the use of third-party PHP frameworks, such as Symfony and Zend.
If you're just starting out with PHP, do not make the mistake of using Dreamweaver's server behaviors. If you do, it's a decision that you'll quickly come to regret. Anyone with existing sites that use the server behavior code would also be well advised to think about migrating to hand-coded solutions or third-party frameworks. The actual code isn't bad, but it's woefully out of date and will need to be replaced eventually.

Similar Messages

  • How To Write Mysql Function Inside A SelfMade Function or Void ? ?

    My Problem Is something Like This :
    public void mysql_select_db(String db_name){
         DB_NAME=db_name;
                         Class.forName("com.mysql.jdbc.Driver").newInstance();
         Connection connection = DriverManager.getConnection("jdbc:mysql://"+HOST_PORT+"/"+DB_NAME+"?user="+DB_USER+";password="+DB_PASS, "", "");
         Statement statement = connection.createStatement();     
    }becuase The server doesn't know "DriverManager.getConnection" i guess or "Class.formName" I don't know ..
    What i think i need is something to be written after public void mysql_......(.)
    like when we write :  "throws java.io.IOException"in
    public void something(String str,JspWriter out) throws java.io.IOException {....}

    You want to handle exceptions? Just read the API documentation which exceptions those methods can throw :)
    http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html
    http://java.sun.com/j2se/1.5.0/docs/api/java/sql/DriverManager.html
    Or read the compilation errors.

  • MySQL functionality within Oracle SQL Developer Data Modeler

    Hi all,
    I've read a few forum posts here that lead me to believe that MySQL is not currently supported by the data modeler tool (Link #1 I got to by clicking on the Statement Of Direction link on the main page SQL Developer Data Modeler</title><meta name="Title" content="SQL Developer Data Modeler"&g… Link #2 I got to by doing a search on the word MySQL within the forum search):
    Link 1:
    SQL Developer Data Modeler Statement of Direction
    Link 2:
    Can datamodeler be used with MySQL?
    SQL Developer (not the Data Modeler tool, but the database admin-type tool not for modeling) does support MySQL using the latest MySQL Connector J 5.1 driver but, strangely,  it doesn't seem the Data Modeler supports it, though.  Can anyone please confirm that MySQL is currently unsupported for the Data Modeler tool?  Thanks in advance.

    Hi,
    it doesn't seem the Data Modeler supports it, though.
    Data Modeler doesn't have specific support for MySQL - i.e you cannot generate DDL for MySQL. Though you can import form MySQL server using JDBC connection in standalone DM or using created MySQL connection if you are using DM inside SQL Developer.
    You can import definitions for tables(columns, PK and UK constraints, indexes, foreign keys) and views.
    Philip

  • How do I pass MySQL function calls in PreparedStatements?

    I want to pass the NOW() function in a PreparedStatement. I am currently using setString(1, "NOW()") but the statement isn't working. I don't know if this is cause but I figured it to be the most likely suspect.
    Thanks.

    jhm wrote:
    I want to pass the NOW() function in a PreparedStatement. I am currently using setString(1, "NOW()") but the statement isn't working. Why are you representing a Date as a String? Wrong.
    I don't know if this is cause but I figured it to be the most likely suspect.Nope, bad design.
    %

  • Mysql 5 Functions HELP

    Heres a recap of the problem.
    Im migrating from coldfusion using oracle db with packages to
    coldfusion using mysql5 and hoping to use mysql 5 functions in
    place of the oracle packages.
    Now the problem is when I try to use a function inside of a
    sql statement in coldfusion the mysql server shuts down and
    coldfusion bombs with an error..
    Heres some of my code.
    I can successfully run this:
    <cfquery name="Test" datasource="kiwanis" maxrows="10">
    Select kiwanis.GetPositionDesc('CU') test
    </cfquery>
    I cannot run this:
    <cfquery name="Test" datasource="kiwanis" maxrows="10">
    Select kiwanis.GetPositionDesc('CU') test from
    kiwanis.members
    </cfquery>
    The code im changing is just for testing purposes. when I run
    this code, mysql 5 stops and then coldfusion bombs with a no
    connection to db error:
    "Communications link failure due to underlying exception: **
    BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE:
    Connection reset STACKTRACE: java.net.SocketException: Connection
    reset at java.net.SocketInputStream.read(Unknown Source) at
    com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:113)
    at
    com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInp utStream.java:160)
    at
    com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:188)
    at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1910) at
    com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2304) at
    com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2803) at
    com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) at
    com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) at
    com.mysql.jdbc.Connection.execSQL(Connection.java:3118) at
    com.mysql.jdbc.Connection.execSQL(Connection.java:3047) at
    com.mysql.jdbc.Statement.execute(Statement.java:690) at col... "
    Now I can take my sql statements and run them in the mysql
    query browser just fine. I get the correct output.
    Why is coldfusion killing the connection?
    I've tried running coldfusion 6 and coldfusion 7.
    I've tried running ever possible J connector I could find on
    the mysql site.
    I've messed around with syntax etc with the queries and Im
    still no where.
    I havn't been able to find information if any about mysql
    functions. Are these fully supported?
    Any help would be greatly apreaciated, thanks.
    -Dan

    I had issues as well which I eventually overcame.
    See the following thread :-
    http://discussions.apple.com/message.jspa?messageID=5649480#5649480

  • MySQL versus OCI Functions

    Hi, I am looking for a list
    to see the opposite from MySQL Functions to OCI Functions
    for example
    MySQL OCI
    mysql_list_fileds() ?
    mysql_fetch_field() ?
    mysql_query() ?
    mysql_free_result() ?
    and so on !
    Could somebody help me ?
    Thanks
    Stefan

    check this links :-
    http://www.php.net/manual/en/ref.oracle.php
    http://www.php.net/manual/en/ref.oci8.php

  • Convert MySQL timestamp field to a Unix timestamp

    I have a process where I want to compare the current date with an expiration date that is so many months after a registration date. The registration date is stored in a MySQL timestamp format. I want to convert this to a Unix timestame so I can do the comparison with Time(). I have tried both the MySQL UNIX_TIMESTAMP and the PHP getTimestamp() functions and cannot get them to work. I have tried UNIX_TIMESTAMP both in  the original SELECT statement and as a stand alone one. I also get a divide-by-zero error with the date_default_timezone_set function. I have enclosed screenshots of the code and the result of the echo at the bottom. THANKS!

    You're making it far too complicated.
    SELECT TO_DAYS(reg_date) - TO_DAYS(CURDATE()) AS daysleft
    FROM ssregis
    WHERE. . .
    That will give you the number of days left until the registration expires. If it's less than 0, redirect to the renewal page.
    By the way, you're laying yourself wide open to SQL injection attacks by failing to escape the input from the query string. At the very least, you should be doing this:
    $entered_ss_id = mysql_real_escape_string($_GET['record_id']);
    $entered_email = mysql_real_escape_string($_GET['email_address']);
    However, since it looks as though you're hand-coding the script, you should be using MySQL Improved rather than PHP's deprecated MySQL functions. See http://docs.php.net/manual/en/mysqlinfo.api.choosing.php.

  • PHP - MySQL - SET column

    In my sql database I have a set column that works fine.  The user can select multiple options.  However, I am having trouble displaying those options using the record set in dreamweaver.  I want the recordset to find any one of the possible options and display the record, but it's not displaying anything.  Am I missing something here?

    OK, my bad. So a SET is sort of a user defined datatype, where the developer sets the allowable values of the column?  The thing that troubled me is that the example the reference guide gives shows it being used to store multiple values as in the last line here:
    For example, a column specified as SET('one', 'two')         NOT NULL can have any of these values:
    'one'
    'two'
    'one,two'
    So that's not really a problem inherent in a SET column, just a way that it can be misused like any other string column.
    David_Powers wrote:
    bregent wrote:
    I'll just put in my $0.02 that +99% of the time using a SET to store more than one piece of data in a database field is a bad idea. It violates rules of normalization and makes data analysis very difficult.
    Not really. A SET column in MySQL doesn't violate the rules of normalization. It's actually a shorthand way of creating a lookup table - or a linking table, since it creates a many-to-many relationship. Internally, MySQL simply stores a numerical reference to each value. In other words, behind the scenes it's storing a bunch of foreign keys.
    The way you search for a particular option stored in a SET column is to use the MySQL function, FIND_IN_SET().
    SELECT * FROM mytable
    WHERE FIND_IN_SET('whatever', column_name)

  • Confused, which MySQL database to connect to: local (WAMP), or remote?

    Hello, new to dynamic sites, have successfully installed WAMP and set up my local/testing/remote sites in DW CS4.  Most tutorials I've found recommend making the "MySQL Connection" in Dreamweaver to the local (WAMP) installation of MySQL, which I am able to do.  But my remote site already has an existing MySQL database and tables.  So should I be making the MySQL Connection to the remote database instead?  Or exporting the remote server's database and importing it locally for development purposes?  What's the best practice?
    If making the connection to my local database is recommended, how do I transfer any changes that I make on my local db to the remote database?  Do I need to export locally & import to the remote db, using phpmyadmin, every time I make changes to the local database?
    If making the connection to my remote database is recommended, I have 2 questions: 1) do I even need my local WAMP MySQL database for anything?  and 2)  I was able to connect to my remote MySQL, (first got "MySQL ERROR 1045 Access Denied", but then went into my remote server via CPanel, found the "Remote MySQL" function, and entered my long current domain name as a new Access Host), but since I'm at a home office without a static IP, will I have to keep going into CPanel and entering in a new Access Host every time my IP address changes?
    Apologies for the confusion.  Any pointers to recommended best practices would be much appreciated.
    - Frank

    > 2)  I was able to connect to my remote MySQL, (first got "MySQL ERROR  1045
    > Access Denied", but then went into my remote server via CPanel,  found the
    > "Remote MySQL" function, and entered my long current domain  name as a new
    > Access Host), but since I'm at a home office without a static IP,
    > will I have to keep going into CPanel and entering in a new  Access Host every time
    > my IP address changes?
    Update: my IP address changed slightly yesterday and I was denied remote MySQL access again.  Went back to CPanel and modified my Access Host domain with a few wildcard characters (blah-blah-blah-%%%%.dsl.bell.ca).  That got me back in.  Is this what most people who want remote MySQL access do?  Is it a (significant) security risk?
    Or do most people without static IPs just not bother with remote MySQL access?

  • Getting just the date out of MySQL with CF8

    I have a mysql table that includes a column 'intakeDate' set to the data type of DATE. When entering, it creates a record of YYYY-MM-DD. When I query the database with Coldfusion for the date of 2004-06-10, I get the result of {ts '2004-06-10 00:00:00'}. Fine and dandy for people in my timezone, but I found that if my users are in any timezone west of Eastern, the date slips back to the day before and their 'time stamp' is 23:00:00 (or appropriate offset). How can I get Coldfusion to just return to my Flex application only the value inside the table and not its ts version with midnight attached. Again, the table is set to only DATE and not TIMESTAMP or DATETIME so there are no time values entered. Also, mind you that this is being sent to a Flex application's manage class. Since some of this information deals with shot records and medical records, date is very important.
    I tried the MySQL function of DATE but it doesn't change the output.
    <cfquery name="list" datasource="#request.dsn#">
        Select DATE(intakeDate) as intakeDate FROM pets
    </cfquery>
    RESULTS IN:
    {ts '2010-12-29 00:00:00'}   {ts '2010-11-18 00:00:00'}    {ts '2009-12-28 00:00:00'}   {ts '2009-10-03 00:00:00'}   {ts '2009-07-13 00:00:00'}   {ts '2009-10-03 00:00:00'}    {ts '2008-06-01 00:00:00'}   {ts '2008-02-09 00:00:00'}   {ts '2003-03-01 00:00:00'}
    {ts '2004-06-10 00:00:00'}   {ts '2003-03-01 00:00:00'}    {ts '2004-06-01 00:00:00'}   {ts '2001-06-01 00:00:00'}   {ts '2010-04-01 00:00:00'}   {ts '2011-04-06 00:00:00'}    {ts '2011-04-06 00:00:00'}    {ts '2004-11-01 00:00:00'}    {ts '2010-05-04 00:00:00'}, etc
    I've been googling it all day and nothing I see if working.
    Thank!

    Thanks for pointing that out. I was playing DATE_FORMAT to convert to a string
    DATE_FORMAT(p.intakeDate, '%Y-%m-%d') as intakeDate

  • How do I update Mysql for Server 10.6.8 safely

    Server version is: 5.0.8
    Current available seems to be : 5.5.24 community server available from http://dev.mysql.com/downloads/mysql/
    if I already have several databases running under 5.0.8
    what are the hazards with upgrading to 5.5.24 community server?

    I wouldn't expect a problem if you update MySQL from the binaries available on mysql.com.  The database files located in the /var/mysql directory won't be overwritten by the application files.  The only unkown is what affect it might have on the MySQL functions in Server Admin if the update files are not installed into the same directory paths as the original installation.  Make sure you backup your server before you try to upgrade MySQL so you can restore the original files if something gets broken.

  • Is my query the very last bit of sql sent through cfquery?

    I have Coldfusion 9 on a Windows Server 2008 box. I have a datasource that points to a Windows Server 2000 with SQL Server 2000. My goal with this template was to determine if my SQL server was recieving any traffic. We anticipate that one or two databases may have select statements being run against it. So, we figured we could use this template to produce proof of activity. (if a process's last query is different from the last one we logged, then that confirms that our sql server is still recieving activity)
    <cfquery name="processes" datasource=#dsn#>
        USE master
        SELECT * from sysprocesses where spid > 50
    </cfquery>
    <cfloop query="processes">
        <cfquery name="lastquery" datasource=#dsn#>
            DBCC INPUTBUFFER(#duckprocesses.spid#)
        </cfquery>
    You can see that I'm using DBCC INPUTBUFFER to determine what the last query was. Utilizing the field called #lastquery.eventinfo# I was hoping to see some queries connected to our datasource. After testing however, I am not getting any proof of my coldfusion server sending sql to my sql server. The queries were successful, because they returned data to my test coldfusion  page, but I couldn't find my query in the inputbuffer command. I know it works, because my sql server queries (run locally on the sql server) returned some results and would properly show up after using the INPUTBUFFER command. However, when I send some queries via <CFQUERY> I do not see the queries in the inputbuffer command.  I do see the following "SET TRANSACTION ISOLATION LEVEL READ COMMITTED" next to the IP address of my Coldfusion server. So that leads me to believe that there is some transactional safety inherit with coldfusion.
    Does coldfusion send ONLY my query to the database server or does it also come inherit with some transactional sql? Like when your CFM throws an error after a <cfquery>INSERT some rows here</cfquery> and the inserted rows do not show up because an error was thrown a few lines down?

    I suggest that you look closely at the MySQL function library reference material for the version of MySQL that you are running ... and, consider upgrading if you need to.
    In any case, you might be able to get more precision by asking for it, e.g. with the CAST() and CONVERT() functions.
    The MySQL documentation (as recently as 5.0) discusses precision math functions.
    Most significantly, though, it seems that MySQL now offers a library of geo-spatial (GIS) functions which might make it possible for you to go well beyond the Pythagorean Theorem in addressing your problem.  The boundaries of each ZIP Code are, of course, a closed polygon, and what you are really looking for here is to determine containment of a chosen point within this and/or adjacent polygons.  MySQL 5.0, for instance, appears to have considerable direct support for this.  You do have to purchase these data sets.
    See:  http://dev.mysql.com/doc/refman/5.0/en/spatial-extensions.html

  • How to insert sign date "now()" in database ?????

    I am a newbie.  Using DW CS5 I have been able to get a number of web pages on my web site to work well.  My problem is with my “sign in form”.  I want to add in the sign in form a hidden field for the date that the user signs up.
    But the signup_date value in the database is not been entered.  I do have a “work around”.  If I replace the last “%s” in the $insertSQL statement with NOW(), the correct signup_date is entered in the database table “users”.  However, I want to learn to do it “right”.  My questions:
    1.      What is the “best” way to accomplish my desire results?
    2.      What do the “%s” stand for in the $insertSQL statement?  I think it is an array, but I do not understand this line of code that DW generated.  Can you explain is plain English?
    Below is the important part of the code (I hope I sent enough to explain the problem) for the sign form: (disregard the /////// they are only there to indicate different sections of the code).
    //This is the code from the input form for the hidden field "signup_date"
    </tr>
        <tr>
          <td align="left" valign="top"><input name="signup_date" type="hidden" id="signup_date" value="NOW()" />
          <td><input type="submit" name="Submit" value="Join Now!"></td>
        </tr>
      </table>
    //This is the dreamweaver code to insert the date into the data base:
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frJoin")) {
      $insertSQL = sprintf("INSERT INTO users (first_name, last_name, email_address, username, info, user_level, signup_date) VALUES (%s, %s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['first_name'], "text"),
                           GetSQLValueString($_POST['last_name'], "text"),
                           GetSQLValueString($_POST['email_address'], "text"),
                           GetSQLValueString($_POST['username'], "text"),
                           GetSQLValueString($_POST['info'], "text"),
                           GetSQLValueString($_POST['user_level'], "text"),
                           GetSQLValueString($_POST['signup_date'], "date"));
    Thanks !!

    I do have a “work around”.  If I replace the last “%s” in the $insertSQL statement with NOW(), the correct signup_date is entered in the database table “users”.  However, I want to learn to do it “right”.
    Your "workaround" is actually the correct method. The way that you think is "right", by entering the date into a hidden field, is actually the wrong way. Hidden fields can be manipulated. Inserting data directly into the query is the desired method, like the method you are currently using. It's not a "workaround", it's the correct method. You hidden field is not working because you have not told the page that the NOW() in the hidden field should be processed through php. NOW() is MySQL function. Use php to echo current date in hidden field if you want to use the "wrong" method of processing the date into your query.
    <td align="left" valign="top"><input name="signup_date" type="hidden" id="signup_date" value="<?php echo date("Y-m-d H:i:s"); ?>" />

  • Displaying Current Date and Time in JSP

    Hi,
    I need to insert the current date time in Ms SQL Server Database using jsp page. The format of the code willbe
    insert into table(update_date) values ('2007-01-01 10:02:21');
    But i am not getting how to display the current date and time ie. 2007-01-01 10:02:21 using jsp.
    I have tried using
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    GregorianCalendar cal = new GregorianCalendar();
    String dd = sdf.format(cal.getTime());
    insert into table(update_date) values (dd);
    But it didnot get inserted data.
    Can anybody figure out with simple ideas.
    Thank You

    Why then are you trying to insert the current date on a table?
    To show the current date on the JSP you might try
    <%=new Date()%>Or the way you had it on your first post with the date formatter and then use the <%=%> tags. Anyway, it seems to me I'm not really understanding what you actually want to do :-p
    P.S. NOW() is a MySQL function too, not only MSSQL server (didn't even know it had it too ;-))
    mysql> insert into a(up) values (now());
    Query OK, 1 row affected (0.00 sec)
    mysql> select * from a;
    +------------+
    | up         |
    +------------+
    | 2007-04-09 |
    +------------+Message was edited by:
    benubach
    Message was edited by:
    benubach

  • How do I set up a root directory for a web site

    So this is probably a naive newbie question.
    I have been creating websites driven by php/mysql on my mac for years using the previous the web preference pane to run Apache and since that went away using XAMPP to provide Apache/php/mysql functionality on localhost.
    I decided to download OSX server and try to use that.  Figured might as well go native MAC.
    I am baffled.
    The manual says to set up a web site in Server by working through the Websites Services interface. I did that and pointed the setup at the directory where I have all of my web site files.  I now have no idea how to access that page from my local machine.
    I have tried:
    http://localhost/myURL
    http://localhost/~username/Sites/[root file directory]  -- where the files are stored
    I also tried some typical localhost ip address
    None access my site.
    How do I access my site over my local netework?
    I feel like just dumping server.app and stting things up through the terminal.
    Thanks,
    --Kenoli

    How familiar are you with the bash command line and with Apache, and how much do you want to learn about Apache and related topics?  (If you're not already, then I'd encourage learning about this material, as this knowledge is very useful for maintaining and updating sites, and knowledge of correctly securing files and directories is critical to building and maintaining secure web sites — all of managing and running and updating a web server builds on these foundations.  There are various good books and web sites on Apache, and the Apache web site has various materials available, if you don't already have something.)
    The localhost host name and the 127.0.0.1 IPv4 address are both synonyms for the "me" host.  It's the name and the address that always gets you to the current host.
    With http://localhost/ or http://127.0.0.1 specification, what you enter at the URL address bar is relative to the root directory specified for the default web server, and will default to the index.html or index.php page or whatever the default web site is configured to use.  With OS X Server, this root directory is configured via Server.app.  To use Server.app, launch it, connect to the server, select Websites from the left navigation, and you (by default) will see a default site and a secure site.  Select the default site.  Select the edit button below the site to edit (and to view) the configuration. 
    With the details of the default site visible, you will see the path to the default web directory.  This path to the default web directory is where the files for the default web sever location reside. 
    The default path to the default web site is /Library/Server/Web/Data/Sites/Default
    If you place foo.html in that directory (or whatever the defailt web site is using), you can view it via your web browser and the URLs:
    http://127.0.0.1/foo.html
    http://localhost/foo.html
    To get to the default web site using the GUI, launch Finder and select Go To Folder, and enter that string into the box.  You will now get a GUI view of that folder.  (I'd strongly recommend using the command line here, and not the GUI.  To get to the directory from the command line and then list the files present, launch Terminal.app from Applications > Utilities folder and issue the following commands:
    cd /Library/Server/Web/Data/Sites/Default
    ls
    If you want to test something in the browser, you can use the file:///path-to-file-to-test mechanism.  Most web browsers will allow you to render local files directly using file and three slashes.
    You will need to ensure the executable files (scripts) are marked as executable to OS X, using a Terminal.app command such as the following:
    chmod o+x path-to-file
    Enabling ~/user per-user sites involves directly editing the configuration file, as Apple has disabled that by default. 
    There's an Apache tutorial with an overview of what's involved with enabling per-user directories here, and there's what's been listed in my earlier replies and links.  With OS X Server Mavericks, the default configuration file for Apache is located in the Library folder, and can be viewed with the following Terminal.app command:
    cat /library/server/web/config/apache2/httpd_server_app.conf
    This file is the OS X Server equivalent of the oft-cited httpd.conf file you'll see listed in various documentation.
    If you want to enable the per-user directories or tweak other Apache settings, then shut down Apache from Server.app or from the command line, and then edit the configuration file with nano or some other command-line editor using a command similar to this:
    sudo nano /library/server/web/config/apache2/httpd_server_app.conf
    you'll end up finding and uncommenting (removing the #) from the following two lines:
    #LoadModule apple_userdir_module ${SERVER_INSTALL_PATH_PREFIX}/usr/libexec/apache2/mod_userdir_apple.so
    #Include /private/etc/apache2/extra/httpd-userdir.conf
    If you have specific questions about this, then I and others here can answer those.  If you don't understand something, then asking a question about that can help you learn, and can help me understand what it is that I'm posting in my replies here that's confusing you.  There are also various resources available for learning Apache, and I'd encourage spending a little time with those if you've not already done so or feeling at all unsure about how that tool works; I end up re-re-reviewing the Apache docs fairly regularly.

Maybe you are looking for

  • How to use custom iometer icf with multiple io analyzers

    so here's my setup I have deployed to the IO analyzer ova to 3 VMs 1 controller and 2 workers on the controller I have created custom Iometer workloads, gave them proper names and placed them in /var/www/configs/ then i did /etc/init.d/tomcat6 restar

  • How to Determine Length of variable up to period (.)

    I have  a variable called my_var  in an ABAP and it is passed many #'s  and they may or may not have some text following these #'s --- these #'s can have a  Length of up to 13 and will always have 3 Decimal Places.  I need to find a way to return the

  • HT4623 ipag not showing up in windows or itune

    I used to be able to connect my windows8 with my ipad.  Now it will not sync or show up on my comptuer.  What can I do?

  • Copying videos from iPad

    I have a couple of videos on my iPad that were copied there from a digital camera using a camera connection kit. I can see & play them on the iPad. I want to copy them from the iPad to my desktop computer. But when I hook up the iPad I can't see them

  • Handling CRMD_CUSTOMER_H with program

    Hi Guys, I have a problem. I plan to use BAPI_ACTIVITYCRM_CREATEMULTI to create activities from file. The problem is the following: We have added 3 custom fields, they are stored in CRMD_CUSTOMER_H as ZZ01 ZZ02 ZZ03 The question is: How can I load th