- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
23 Posted Topics
Hi I am generating a summary of useraccounts present on around 160 linux servers. I am retrieving the data through a script and storing around 160 csv files in a directory. I want to import all these 160 csv files to one excel worksheet. Can someone please tell me how …
yes you can go through rsync but as you are interested in ssh... its easy to prepare a script for tarring then zipping and then do scp... What is the threshold you are talking about ? is it the size if it is so use size = du -s <directory …
I want to create a SSH user and cage it in its home directory. How to achive this ?
Mount your DVD in your os mount /dev/cdrom /mountpoint After doing that search for the rpm package ll | grep -i mysql* then install the package available in cdrom as rpm -ivh package.rpm
I want to encapsulate a FTP user to putside his home directory like i9f its homedir is /home/ftp/ash, then I want to encapsulate him in /home/ftp How to do this please help me its urgent...
Hi all I want to install mysql in my redhat 5. I have downloaded an rpm but its saying that MYSQL-DEVEL not found. Kindly provide me the link of all those that I need to install.
I am having around 150 servers. I want to change a string in a file using a script with ssh login. Can someone help me out?
Use Uptime command to check the uptime of the server Use #last reboot | less to check the last reboot time
Hi I have like 150 LINUX servers. I want to create a user in all the servers through the a script. But that user already exists in some of the servers. How to do this ??? NOTE: SSH login in the servers without password is enabled.
resize2fs is an utility that is used for online extension of the filesystem. Suppose you have extended your LV then doing resize2fs /mount_point will increase you FS size as per the size of the logical volume.
<?php $noticeid=$_POST['nid']; $uname=$_SESSION['user']; include('db_connect.php'); $sql="SELECT * FROM notice WHERE nid='$noticeid'"; $data=mysql_query($sql); $d = mysql_fetch_assoc($data); $notice=$d['notice']; echo $notice; ?> When I am retrieving data its saying : Notice: Undefined index: nid in C:\xampp\htdocs\sm\viewnotice.php on line 53 Wheres i am passing the varibale from previous page and its reflecting in browser too. …
<?php $tname=$_POST['tname']; $uname=$_SESSION['user']; include('db_connect.php'); $sql="SELECT marks FROM marks WHERE uname='$uname' && tname='$tname'"; $data=mysql_query($sql); $marks=$data['marks']; echo $marks; echo $uname; echo $tname; ?> When I am trying to retrieve data marks is not retrived its displaying as "Marks" Please help
Hi I am have to enter marks of 50 students through a single page <table border="1"> <tr><td height="50">UserID </td><td>Name</td><td>Marks </td></tr> <?php include('db_connect.php'); $bname=$_POST['bname']; $res = mysql_query("SELECT * FROM user WHERE batch='$bname'"); while($data = mysql_fetch_array($res)) { $uname=$data['uname']; $uid=$data['uid']; echo "<tr><td>$uid </td><td>$uname</td> <td> <input type='text' size=3 name='$uname'></td></tr>"; } echo "<tr><td colspan='2'><input type='hidden' …
I am not able to set php session for starting the session I am using below code session_start(); $_SESSION['username'] = $username; For checking the session I m using <?php if (!isset($_SESSION['username'])) { header('Location: index.html'); } ?> But the session is not being set as I am not able to grep …
How to disable the like link after it has been clicked ??? My Code echo "<a href=like.php?id=$pid>like($plike)</a>";
i am unable to store data in database <?php include ("db_connect.php"); $res = mysql_query("SELECT * FROM posts"); while($data = mysql_fetch_array($res)) { $pid=$data['pid']; } echo $pid; $pid=$pid+1; //Get data in local variable $ptitle=$_POST['ptitle']; $uname=$_POST['uname']; $email=$_POST['email']; $pcont=$_POST['pcont']; if ($uname=="" or $ptitle=="" or $pcont=="" or $email=="") echo "All fields must be entered, hit …
Can anyone tell me how to generate reports in pdf using php
How to limit the number of checkboxes to be selected using php???
i want to have a drop down box containing items a, b, c, d, e, f & g and checkboxes 1-20 now checkboxes 1,2,3 are associated with option a checkbox 4,5,6 are associated with option b like this. now how to display the associated checkbox when an option from the …
I am in a great hurry please someone tell me how to populate checkboxes based on the dropdown menu selection if possible please give the code
How to automatically move an uploaded file to a new location and rename it just after upload
I am trying to upload few texts and the image using the code But its showing error have a look at the two codes... [CODE]<body> <center> <h2>Add News</h2> <form name="news_registration" action="addnews_process.php" method="post" enctype="multipart/form-data"> <table width="600" border="0" align="center"> <tr> <td width="49%" align="left">News Type</td> <td width="3%"> </td> <td width="48%" align="right"><select name="category" id="category"> <?php …
The End.
ashiiiish