You will never find time for anything. If you want the time, you must make it.
Shanti C 106 Posting Virtuoso
Shanti C 106 Posting Virtuoso
Shanti C 106 Posting Virtuoso
You will never find time for anything. If you want the time, you must make it.
Quality is remembered long after the price is forgotten.
Some INDIAN breakfast..........
Greetings For all.....
I have number of products in mysite...I want to show short url for all my products in my site...How to make them dynamically...Is there any thirdparty tool???
Or any information would be appreciated..
Thanks in advance....
Shanti..
I can't access my old hosting account. I don't now my username. I now the domain and can i see PHP code on one page.
No, you can't see php code from browser...You need to have your site files...the you can see...
all php code is translated as HTML code inside the server,, thats why we can't see it....
Hai Every one...
Im totally new to X-cart open source .Its a e-commerce source actually..And my company needs to create a shopping cart with x-cart..
Any suggestions , tips on this will always welcome...
thank you,
shanti..
I dont underastand what u wrote??
hai...
First you need to decide which payment gate way to be used in your/clients web site..Then register with that website service..
then they will tel you the way to create gatway connection from our site to payment website...
if also you got the code for payment gateway , its no use, because we must have the permission from service provider..
Al the best...
Hello all...
Can i write all my site pages such as index.htm, support.htm,contact.htm .. etc to www.mysite.com with URL Rewriting..
Please help on this..
Thanks in Advance..
Nop, The above logic will give you the correct output unless no mistake in your code..
And see this is another logic:
As we know the first day of the month and for the last month , here i calculated number of days of last month, then that number is last day of the month.
$last_month=date('m')-1;
$year=date('Y');
function get_last_day($year, $last_month){
$timestamp = strtotime("$year-$month-01");
$number_of_days = date('t',$timestamp);
return $number_of_days;
}
ya exactly,, i even don't see this before..
just echo this line and execute that query on your database area
$query = "SELECT * FROM contacts WHERE id = '$id'";
or post your table structure..
see here , you have started a div like this :
<body>
<form action="delete_user.php" method ="post">
<div id="main">
But You have to Ends it like
</div></form></body>
Instead of
</form>
</body>
</div>
what you have written in delete_user.php file...
And your div tag is not closed properly..
Post delete_user.php file data..
In your code change this line $HTTP_POST_FILES['image']['name']
to $_FILES['image']['name']
..
Or check your folder path..
or post your required code...
the try this:
RewriteRule ^login$ login.php?req=preview&login_name=$1
or
RewriteRule ^([^.]+[^/])$ login.php?req=$1
If this is not your solution , then tel me clearly...
thanks for you both..
i will work on this and let you know...
As i know , i got this information for your 3 rd question:
you need to look at what makes each engine unique:
myisam -- fast for reading and inserting, table level lock which makes
it not suitable for transactions
innodb -- fast for updating and most suitable for transactions because
it uses row level locks
you certainly can use a combination of these 2 types of engines in your
database.
with innodb, you'll have cascading deletes/updates; however with myisam,
you'll have to do it yourself in the code or in stored procedures. so
maybe some of your tables should be innodb while others should be myisam.
However, I noticed that InnoDB tables get a bit slower than MyISAM
tables during bulk-inserts ,especially of TEXT/Blobs and Varchars. It
is all relative. It depends what fields you want to store, how many
writes / reads and so on.
Refer these links for more information :
http://www.mysqlperformanceblog.com/2009/01/12/should-you-move-from-myisam-to-innodb/
http://binnyva.blogspot.com/2006/08/mysql-storage-engines-myisam-innodb-and.html
Good Morning All..
How to do coding for code tags , when we post a thread..And the display the content between the code tags with different color using PHP..
Thanks in Advance.
Shanti.
what to confused..
you can write..
if($current_month==1)
{
$lastmonth=12;
}
else
{
$lastmonth=$current_month-1;
}
yes,
one more best editor is wysiwyg ..
get it from google..
First you need to register with payment gate way service providers to make it work on your site..Then they will tell you the information for integration..which is not difficult : just send proper values to specified path which differs for different payment gateways..
One more point...
By using our php codes..
Changing from 100X100 image to 40X50 image will result into same quality image...But vice versa will give corrupted image..
So make it note when your are going develop in your projects..
And also check for separate tables..
http://www.bigresource.com/PHP-Import-Excel-file-into-MySQL-database-3GCFOrrb.html#r2WzqLkg
thank you...
hey,,,
have u tried rewrite conditions in your .htaccess file..
the explain me...please...
i have tried this..
its worked fine for me...
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite\.com [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=301,L]
Don't use this statement $row=mysql_fetch_array($result);
twice in your code...
Just remove first one , then you will find your expected result...
If you have a long number of mails in your db, then it is better to use sleep function to avoid overload of server....
Read more about this on gooogle.....
Whats wrong with you???
Use Code Tags...
And one more thing php mail function is very easy to send any emails as notifications and circulars to your company employees...
And you can have your employee daily work reports in your data base is very important and with php these all are easy to develop as a software...
And welcome for any doubts in PHP and how to make tables based on your requirement of data....
Al The Best...
Shanti
INDIA.
you are not initialised or used these variables $sent_month and $sent_year before...what data you want to put in that variable...
refine your code and write coding accordingly....
use code tags....
i think you are using two else loops here ..
one is on line : 103
and another one is on line 149.
And you just forget to close your second else loop..
You loop structure is not good...
Concentrate on those...
And use code tags by next time....
Here is some expectablel solution not sure...
for example , if you have a quantity field then , if we entered any letters on that it will show an immediate alert "Please Enter Only Numbers (0-9)"
if this is your expected solution . then the following is the code for that...if not post clearly....
<form name="exampleform" method="post" action="">
<input name="qty" type="text" id="qty" value="" onKeyUp="Only_Num(this.id)" size="3" maxlength="5">
</form>
function:
function Only_Num(id)
{
if(isNaN(document.getElementById(id).value))
{
alert("Please Enter Only Numbers (0-9)..");
document.getElementById(id).value='';
document.getElementById(id).focus();
}
return;
}
I think the above is very simple method...
hmmmm...
another method is , you have use session arrays....
But above method.....No need to worry about anything else....
you are right...
then why don't you use swith case in if loop...
then try like this...
if(!empty($_GET['err'])){
switch($_GET['err']){
case 'nosearch' : $msg="Your search returned no results - <a href="guide?t=search">Click Here For Search Tips</a> ";
break;
.......and so on
}
}
then you have to pass your url like
?err=nosearch
use this echo $errormessages ['nosearch'];
instead of $_GET['nosearch'];
If my answer is not reached your question, be more clear...
try like this:
echo date('d-m-Y',strtotime('03-Feb-09'));
thank you very much cwarn23 for your continues replies...
thanks all....
thank u cwarn23 ....
what does the line ErrorDocument 404 /path/to/file.html
will do?????
Tel me any good explanation about "if-modified-since http header"
. and how to use it in our web sites?????
thank you for all especially death_oclock, ShawnCplus, !Unreal and budleee.....
One more thing..
How to write rewrite conditions on .htaccess file...please give me some explanation rather than tutorials...
And in my site, i had written .htaccess file for every folder individually. Is it correct or not??
Tel some tips on this concept..
And quote me with 404 error solution with URL ReWriting..
Thank you so much for all.....
Shanti
INDIA.
unless you have a dedicated virtual file for each possible input variable.
Means???
thanks for all inputs..
Any more clear information about this????
I am struggling about this....