I am using CKFinder to upload files to my site where all my users should have their own folder storing their own files in them.
My desired result is that the folder for user files uploaded will be ckfinder/userfiles/$USERNAME
I have the following information in the config.php file of CKFinde...
I have 2 select boxes, with Javascript, that moves a selection from one to another. The one moved to is a multiple select box. To get all of the items in the box via PHP after submission I have named it "ToLB[]" .. with brackets for php array form submission. However, when I add the brackets...
Hi looking for a solution where I have a php page, export.php, that has a form where a user can click, which opens exportdo.php, exportdo.php opens and runs the csv export and the file downloads while I remain at export.php. What I am looking for is how to refresh export.php, after the CSV file...
Here is my code:
$TmoveDATE = "2015-06-30"; // start date
$TremoveDate = time($TmoveDATE); // converts value to time
$TnumberDays = $TnumberDays * 24; // converts days to hours
$TnumberDays = $TnumberDays * 60; // converts hour to minutes
$TnumberDays = $TnumberDays * 60; // converts...
I fail to access MySQL using Access 2010 using Oracle connector, as well as the connector that comes with 2010 ... any suggestions are welcome. Problem seems to be how Access 2010 handles the password encryption.
Jim Null
Trying to figure out how to get the usernames of users who are flagged in two networks.
For example: my table is laid out as id, username, network.
User jim can be in network ABC and in network XYZ thus there would be a record for each
DATA EXAMPLE
id, username, network
1, jim, ABC
2, jim...
I have the following simple script to get the name of day where I am looking for "Sunday".
<?php
$currentdate = "2009-01-01";
$junk = 1;
while ($junk = 1){
$dayname = date('l', $currentdate);
print "Date: $currentdate ~ $dayname<br>";
if ($dayname == "Sunday"){
print " Date...
Attempting to figure out how to change a forms action, based upon a selection, once the 'submit' button is clicked. For example, if I select "one" the form would post to www.one.com, if I select two, the form would post to www.two.com.
Thanx!
Jim Null
info@ferncreek.com
For this HTML ...
<table>
<tr><td class="thisclass">Hi there folks!</td></tr>
<tr><td class="myclass">More stuff here.</td></tr>
<tr><td>And some other stuff here.</td></tr>
</table>
I am looking for some JavaScript that would, when an icon image is clicked, just print the contents in the cell...
Hi ... I have three input types that are images. I need some help on creating a script that will change a form's action based upon which image is clicked. Please advise?
Jim Null
www.jimnull.com
[afro]
I have column I'd like to make MD(5) from MySQL Admin ... so an sql something like
"UPDATE `thistable` SET `column1` = md5(`column1`)"
is what I am looking for. However this syntax fails. Suggestions?
Jim Null
www.jimnull.com
[afro]
Any advice on easy way to do date addition in PHP, such as:
$newday = $todayis + 10days
And, how about the reverse:
$oladday = $todayis - 10days
Can't seem to find anything anywhere that is simple. Suggestions most appreciated.
Jim Null
www.jimnull.com
[afro]
I am designing a report in Access that is initiated by a form. On the form I input a quantity into a text box. Then when I click the command button I want the report to list out quan, description, style where the quantity is equal to the amount in the database times the quantity input into the...
Hi... I have one table, payments that contains payment details, another table tripdetails that contains a trips details. I want to list out all the payment details for a trip. I keep getting some records with duplicate listings. AS you can see, in the results, PID's 18, 19 and 20 are listed...
Reference this thread for a similar issue thread434-26323...
What is the current best recommended way to write data into two tables and can you provide an example of the syntax?
table1 has id, name, addresss
table2 has id, orders
table1.id and table2.id are the same.
Jim Null...
HI ... I have just started using Dreamweaver 8 and have noticed that when I view my local site and look for folders with an _ in the first character, such as _includes, is not there.
When I view my remote site(s) they certainly are.
BTW - I am not using cloaking.
How do I setup my local view...
Hi ... I have a datetime field in my dB such as
yyyy-mm-dd hh:mm:ss.
How would I write a MySql statement in PHP to select all dates from this dB for a specific date of yyyy-mm-dd regardless of the hours, minutes and seconds.
Jim Null
www.jimnull.com
[afro]
Hi I have this code, along with a MYSQL statement:
header("Content-type: application/octet-stream");
header("Content-disposition: attachment; filename=helpbuildhope.csv");
header("Pragma: no-cache");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Expires: 0")...
I want to be able to subtract one date from another and determine if the dates are five years or less apart using PHP using the mm/dd/yyyy format.
Please advise as to possible workable solutions, for example:
$thisdate = "05/06/2006";
$comparedate = "05/01/2001";
$difference = $thisdate...
Hi ... I have two spreadsheets...
test1.xls
test2.xls
test2.xls has a range of cells named Bld1
I want to be able to copy this range from test2.xls into test1.xls using VBA coding.
Please advise as to way to accomplish this?
Jim Null
www.jimnull.com
[afro]
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.