I'm working on a website with multiple developers in multiple locations. Considering the fact that each developers will develop locally, is there a way to sync all changes to a "master" test database automatically on a regular basis?
Hello,
I am trying to setup vsftp on CentOS.
My test user can connect via sftp and is chroot'd to the proper directory. However she can browse /, /etc, more... and has access to bash.
I want to limit the user to her own directory and no access to bash.
This is the current /etc/passwd
#...
Hello,
.li_pdf {
font-family: Verdana, Arial, Helvetica, sans-serif;
color:#000000;
line-height:20px;
font-size:12px;
list-style-image:url(/images/icons/acrobat.gif);
}
This class is used to style bullets in lists of hyperlinks. The icon (a little PDF logo) indicates to the users...
Hi,
I need to log the precise duration of a session. I can log the time at session start. I do I get the time at session end if, for example, the user leaves by closing the browser?
Duration has to be precise, no timeout after x minutes...
Thanks
FnL
Hello,
I would like to customize the message I get when I use the "_required" tag on form entries.
I get this ugly grey box... Any ways I can change that?
Thanks
FnL
Hi,
I get this error:
Can't locate object method "bootstrap" via package "Crypt::DES" at /home/usr/domain/cgi-bin/lib/Crypt/DES.pm line 23.
When running this:
#!/usr/bin/perl
use lib '/home/usr/domain/cgi-bin/lib';
use strict;
use CGI qw( standard );
use CGI::Carp qw(fatalsToBrowser)...
I am trying to access the content passed via $_POST in a loop. What I'm trying to get is this:
$insAmt_1 = $_POST"['1ins1']";
$insAmt_2 = $_POST"['1ins2']";
$insAmt_3 = $_POST"['1ins3']";
then
$insAmt_1 = $_POST"['2ins1']";
$insAmt_2 = $_POST"['2ins2']";
$insAmt_3 = $_POST"['2ins3']"...
I have a variable using the datetime format "0000-00-00 00:00:00"
How do I proceed to determine if the hour is between 10:00:00 and 15:59:59?
Thanks
FnL
Is there a simpler/more compact way to code this?
The query is the same on the 2 tables:
$sql = "SELECT id FROM users_intake WHERE users_id=5 AND timeStamp LIKE '2005%'";
$result = mysql_query($sql);
$inside1 = mysql_fetch_object($result);
$sql = "SELECT id FROM users_state WHERE users_id=5...
Is there a simpler/more compact way to code this?
The query is the same on the 2 tables:
$sql = "SELECT id FROM users_intake WHERE users_id=5 AND timeStamp LIKE '2005%'";
$result = mysql_query($sql);
$inside1 = mysql_fetch_object($result);
$sql = "SELECT id FROM users_state WHERE users_id=5...
Hi,
How can I install modules and package when I have no shell access?
For example GD.pm is pretty self explanatory, I would just copy is somewhere use "use lib'path';" - but what about GD::Text::Align?
Thanks
FNL
Hello,
my script writes a cookie and then tries to read from it to write the content to a database.
I beleive it tries to read the cookie before it is available (written I suppose). The cookie returns an empty value. Or if I run the script a second time, it returns the content from the...
Here is my case:
I have cgi-1 from wich I wish to access cgi-2 which is in a protected (.htaccess/.htpasswd) folder.
I already use a db (user/pswd) to access cgi-1. How can cgi-1 access cgi-2 without having to deal with the browser's authentication window?
The combination user/pswd used to...
Hello,
Here is the code that sets the focus in the text area:
<td>Name: <input type="text" name="name" size=30 onFocus="select(this);"><input type="submit" value=" Send "></td>
Here, I get no focus:
<td>Name: <input type="text" name="name" size=30 onFocus="select(this);"></td>
<td><input...
Hello,
I use a FOXPRO 2.6 application running under DOS.
On win98 systems, I could set the code page and keyb to match my needs through the autoexec.bat.
Now on win2k, I set autoexec.nt with these parameters:
C:\WINDOWS\SYSTEM32\mode con codepage prepare=((850)C:\WINDOWS\SYSTEM32\ega.cpi)...
Hello,
On boot-up I get this warning:
Event Type: Warning
Event Source: SysmonLog
Event Category: None
Event ID: 2006
Date: 7/21/2003
Time: 1:21:27 PM
User: N/A
Computer: Computer XYZ
Description:
Unable to read the Log File Folder value of the System Overview log or alert configuration...
Hello,
I have found a script (display ramdom text) that goes like this:
<head>
<title>Untitled Document</title>
<SCRIPT LANGUAGE="JavaScript">
<!--
//[avnerc@fundtech.co.il]
messArr=new Array();
messArr[0]="Message 1";
messArr[1]="Message 2"...
Simple problem:
i am having 2 input boxes (variables X and Y), one dynamic output (variable Z), and one submit button. i want to create a simple addition.
Let's pretend X=5 and Y=4. When i use the "+", insted of getting Z=9, i get Z=54. When i use the multiplication "*" i...
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.