Thanks Tedd,
ajax works fine now,when submiting a button it will show the number and it
doesn't have any problem
$(function() {
$(".button").click(function(){
var id=$(this).attr('id');
var dataString = 'id='+ id ;
$.ajax({
type: "POST",
url: "download_number.php",
data: dataString,
7;id='+ id ;
$.ajax({
type: "POST",
url: "download_number.php",
data: dataString,
cache: false,
success: function(html)
{
$("#div_"+id).html(html);
} });
window.open('download.php', '_blank' );
});
so cool!!:)
On Mon, Oct 15, 2012 a
do you have the driver in linux?
https://www.microsoft.com/en-us/download/details.aspx?id=28160
On Tue, May 7, 2013 at 11:46 AM, georg wrote:
> but isnt there some yum command that will fix things for me (download if
> necessary, but I actually think
> the ODBC would be in the distribution of
I registered a SMS web service and I have username and password
and there are methods as follow which I can use:
balance
receive
send
send to all
send advanced
status
status advanced
suppose I have a form and I will get the phone number from user
also I have user name,pass and url of the web serv
In general, what are the best ways to handle high traffic websites?
VPS(clouds)?
web analyzers?
dedicated servers?
distributed memory cache?
Sincerely
Negin Nickparsa
sking this
question. it is kind of beneficial for all people and not has been asked
directly.
Sincerely
Negin Nickparsa
On Wed, Sep 18, 2013 at 10:45 AM, Sebastian Krebs wrote:
>
>
>
> 2013/9/18 Negin Nickparsa
>
>> In general, what are the best ways to handle high traffic
simultaneously and the
videos are in the website not on another server like YouTube and so streams
are really consuming the bandwidth.
Also,It is troublesome to get backups,when getting backups you have problem
of lock backing up with bulk of data.
Sincerely
Negin Nickparsa
On Wed, Sep 18
country is 9 Am in other country, 3 PM in other country
.
By the way Thank you so much guys, I wanted tidbits and you gave me more.
Stuart, I recall your replies in other situations and always you helped me
to improve.list is happy to have you.
Sincerely
Negin Nickparsa
On Wed, Sep 18, 2013 at
it may be helpful for someone.
I liked GTmetrix kinda helpful and magic. <http://gtmetrix.com/#!>
Sincerely
Negin Nickparsa
On Wed, Sep 18, 2013 at 4:42 PM, Sebastian Krebs wrote:
> 2013/9/18 Camilo Sperberg
>
> >
> > On Sep 18, 2013, at 14:26, Haluk Karamete
> wr
your problem is from the permissions.
Sincerely
Negin Nickparsa
On Tue, Aug 13, 2013 at 11:30 AM, Michał Kochanowicz
wrote:
> Hello
>
> I've got a file, which can't be checked with filesize(). I copy it (with
> permissions) and then I can filesize() the copy. This is same di
structure and then you
can use disposition string, find the "attachment" and then return the
array.
Sincerely
Negin Nickparsa
On Wed, Sep 18, 2013 at 3:27 PM, Domain nikha.org wrote:
> Hello all,
>
> im posting this here, because the bug report system of "php.net"
structure and then you
can use disposition string, find the "attachment" and then return the
array.
Sincerely
Negin Nickparsa
On Wed, Sep 18, 2013 at 3:27 PM, Domain nikha.org wrote:
> Hello all,
>
> im posting this here, because the bug report system of "php.net"
i want 2 design a php web for staff members that can sign in with
their accounts n then mail 2 each other i don't know how it really
works by using a mail server i'm beginner at it! but i studied alot
abt it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
internal messaging system
On Thu, Mar 17, 2011 at 8:16 PM, Stuart Dallas wrote:
> On Thursday, 17 March 2011 at 15:23, Negin Nickparsa wrote:
> i want 2 design a php web for staff members that can sign in with
>> their accounts n then mail 2 each other i don't know how it r
gt;>
>>
>> Jason Pruim
>>
>> On Mar 17, 2011, at 11:23 AM, Negin Nickparsa wrote:
>>
>> > i want 2 design a php web for staff members that can sign in with
>> > their accounts n then mail 2 each other i don't know how it really
>> > wo
can i have an email server?
we have 4 example:u...@dpaco.net
or not?
just we must have an emails like gmail n ymail?
if i can have email server how i can code it
i can have tables like this:
CREATE TABLE domains (
domain varchar(50) NOT NULL,
PRIMARY KEY (domain) )
TYPE=MyISAM;
CREATE TABLE fo
I serached well yeah sort of Squirrel Mail!
but it's one part of it not all part of it
On Thu, Mar 17, 2011 at 8:00 PM, Negin Nickparsa wrote:
> can i have an email server?
> we have 4 example:u...@dpaco.net
> or not?
> just we must have an emails like gmail n ymail?
>
t Dallas wrote:
> On Thursday, 17 March 2011 at 16:56, Negin Nickparsa wrote:
> internal messaging system
>
> In that case it's simply a matter of creating a table structure to hold the
> messages and building an interface that will display them and allow new
> messages t
u mean i can have localhost mail service or not?
On Thu, Mar 17, 2011 at 8:36 PM, Negin Nickparsa wrote:
> i'll give all my users user n password will they be under the same
> domain or not?
> user1 has the domain gmail n user 2 ymail
> or i can have all users the same thi
when a user will be logged on he/she must have the messages just for
him self yeah? then i must have a column for the mails that he
recieved
4 example select mail1 from users where user=user1
i got it right?
On Thu, Mar 17, 2011 at 8:39 PM, Negin Nickparsa wrote:
> u mean i can have localh
but yes i need notifications
now we use free application named osticket but it doesn't work very well
I can change my codes because i have time
what is your suggestion for me which one can better support my site?
MTA or another free app?
On Thu, Mar 17, 2011 at 8:43 PM, Negin Nickparsa
Tnx very much Stuart 4 ur great helps.
now it's more clear 4 me
On Thu, Mar 17, 2011 at 8:55 PM, Negin Nickparsa wrote:
> but yes i need notifications
> now we use free application named osticket but it doesn't work very well
> I can change my codes because i have time
> w
ok! stuart plz let me think to exactly tell u what i want! because i
must make sentences more clear i know i have bad english sorry!
i will tell u in a moment.
On Thu, Mar 17, 2011 at 9:16 PM, Stuart Dallas wrote:
> On Thursday, 17 March 2011 at 17:25, Negin Nickparsa wrote:
> but yes
dn’t have
reply then close it)
settings for users
sending sms to that user when priod time is going 2 finish
making priority for emergency mails
On Thu, Mar 17, 2011 at 9:21 PM, Negin Nickparsa wrote:
> ok! stuart plz let me think to exactly tell u what i want! because i
> must make sentence
i just got it! now! what's the meaning of charge for! lol! plz don't
help me! again! because i have no money! tnx very much till now
On Thu, Mar 17, 2011 at 9:42 PM, Negin Nickparsa wrote:
> :( maybe it's ticketing i don't know exactly!!!:"(
> here are the thing
can u explain zimbra server 4 me?
On Thu, Mar 17, 2011 at 9:44 PM, Curtis Maurand wrote:
>
> Zimbra Server.
>
> Negin Nickparsa wrote:
>> :( maybe it's ticketing i don't know exactly!!!:"(
>> here are the things that i must do:
>>
>> receiving
if i'm not in mistake u can go 2 php.ini n fix it
On Fri, Mar 18, 2011 at 6:24 PM, Gotzon Astondoa wrote:
> I could not find the solution to the problem.
> I've finally solved by using an applet that uploads the files by FTP.
> In case anyone needs it, the applet I've used is
> http://sourceforge
in php i have a file to upload i want to save this file in a table and then
retreive it from table in another situation is it possible?
-- Forwarded message --
From: Negin Nickparsa
Date: Mon, Mar 28, 2011 at 10:24 AM
Subject: Re: [PHP] is there any syntax to save a file in mysql?
To: Hans Åhlin
tnx Hans
now i run this code
in my sql ihave this:
CREATE TABLE upload (
id INT NOT NULL AUTO_INCREMENT,
name VARCHAR
-- Forwarded message --
From: Negin Nickparsa
Date: Mon, Mar 28, 2011 at 10:57 AM
Subject: Re: [PHP] is there any syntax to save a file in mysql?
To: a...@ashleysheridan.co.uk
Dear Ashley,but i want every user to have his/her own files in their
account. (i used session for them
i want each user having more than one file like us in the inbox of our mails
i want to store files n then they can access each one.
call session_destroy(); then start the session again
i got it but i didn't understand what to do exactly
uploading a file in a folder is easy for me
than what i must do in db?
storing what in db?
my codes was abt to store the file when uploading what is the difference
can i give me in an example?
session1.php:
session2.php:
introduction 2 PHP and MySql,Larry ullman
i coded a smart home it has two jframes in java netbeans
it works correctly when i run the server and then when i run client
the devices such as radio,fan,...
i turn them on/off
but i want to store the changes when i run the server for the second time
someone told me that i must add xml code
does a
php coders know about XML maybe u don't know but someone will reply me u'll
see
i didn't want to be smart or funny cause i'm not
i just told my Idea
and i didn't want to bother list or Daniel
pardon me Daniel,for my bad behave if u think that was bad
ok i'll go
i want to when clicking on the image then go to other page or set my
$_SESSION
i have this in php code:
echo"";
how can i correct this
or if it is completely wrong how 2 solve it?
i tried to set header in onclick too but i think it can't do because header
is function of php and i echoed the html t
I tried,You solved my problem tanx very much Rob
===>if(array_key_exists('sub5',$_POST))
this line runs before i clicked on the submit
while(true) before this line can't work then how can i solve the time
problem?
here is the whole code:
0)
{
echo "";
for($i=0;$i<$num;$i++)
{
$row=mysql_fetch_row($result);
echo "";
for($j=0;$j<$num1;$j++)
{
echo"
i can't understand what u wanted to tell me.
i want to when clicking on the sub button then go to another page i wrote it
but i can't solve this problem:
php runs the code and "then" i click it
i don't know,how can i solve it
any suggestion?
the thing that is important to me is setting session
because i want the tables of the one that clicked be showed on patient.php
how can i change my wrong code?
Robert could u plz exactly tell me how i can work with GET and write my
SESSION i tried your code abt session but i didn't get it right but for
another ones i tried and it was right
i want to click on the image then it stores the session so i can have many
different tables in another one unique page
suppose that i have A in my column when i click on image then it showed me
the table of A in another page
but if i click on the image of B then in the next page it will show me th
i'm using http://localhost/
i don't have server like something.com
i wrote url:'loadsession.php'
instead of http://www.yourserver.com/loadsession.php',
and i deleted src="http://www.yourserver.com/js/jquery.js";
but it doesn't work what i must write in there?
it is the result!!!
Now = getdate(time()+TIMESEED*60); else $this->Now = getdate(($mode?
$dd:strtotime($dd))); $this->Now["fyday"] = ($this->Now["yday"]+287)%365;
if($this->Now["fyday"]==0) $this->Now["fyday"] = 365; } function
getFarsiDate($mode, $fa=true, $echo=true) { $varStr = ""; switch($mode)
why URL?
my code is this:
$query1="select * from patient where id=".$_POST['txt'];
it works but
i think because i have error in next line:
*Warning*: mysql_num_rows() expects parameter 1 to be resource, boolean
given
$num2=Mysql_num_rows($result1);
i echoed $ query1 and the result was this=>select * from
$id=(int)$_POST['txt'];
$query1="select * from patient where id=".$id."";
echo $query1;
$result1=mysql_query($query1);
echo $result1;
$num2=Mysql_num_rows($result1);
$num3=Mysql_num_fields($result1);
still it has previous error
Here is my output:select * from patient where id=1
*Warning*: mysql_
Bálint Horváth,
the second post of me is using your idea
your idea is working but why i have error still?
$result1=mysql_query($query1);
echo $result1;
it can't echo $result1
i don't know why?
i recieve nothing not a resource id and nore false
Tnx to all:D
Paul you are absolutly right:D
it was a bad mistake from me
there was no need 2 convert it
Balint helped me n with mysql_error i found that
my code hasn't any mistake
i just forgot the BIG thing!
selecting db:D
i totally forgot it because i had array keys with if statement n in there i
i got it tnx Balint
if i don't have any site can i share my php files in somewhere 4 free?
if yes, what u suggest?
*Joshua You are right,I **apologize**.*
thanks Sharl,I'll study it
Joshua,Yes,I mean host and Run
I have a code that i get the $_POST's result and then insert them in tables
of Mysql
it can run without error but it'll insert in the table twice and i don't
know why.
when I click the submit then with array_key_exists I go to if statement and
insert it.
i'll show the code if someone have time help
Consistently
here is the code:
Registration
Complete the form below:
Name:
Last name:
Username:
Password:
I click the submit button just one time! not twice
but when i go to MySql and select * from it
it shows me happening two times
Hi viraj
intresting!
i changed the code to this:
$kind=$_SESSION['s3'];
$query1="insert into
user(kind,user,pass,name)values('$kind','$str','$str2','$str3')";
$result1=mysql_query($query1);
i set the session in my another page
and now it works properly:D
LOL!!
Yes viraj it was in both tables
i used your exit too,yes it's better to hide the form after registration:)
i'm wondering that what was the problem!
why with just a session it now works propely!!!
how!
because I echo the checkboxes like this:
if($num>0)
{
echo "";
for($i=0;$i<$num;$i++)
{
$row=mysql_fetch_row($result);
echo "";
echo"";
echo"$row[0]";
echo"";
}//for
echo"";
}//if
i can't use $_POST because it's not in html
how can i insert my items that are checked into table?
i mean my tables in Mysql
because when the name is in echo it can't access to $_POST
4 example $_POST['p$i']
it tells me undefined variable p$i
when in html we write it in form because it has post method it can set
$_POST but here in php i just echo it and i can't access it
maybe i am wrong but how can i correct it?
cause it's in another topic!!! and another problem!
this problem was solved
i had another problem
what do you mean!?
in this topic problem WAS this one:
insert to a table twice(that was solved)
and on that post problem is this one:
working with echo html then insert to a table (problem in $_POST)
I thought it is very different am i wrong?
I'm sorry that I disturbed you and the List,I tried hard to mind my
punctuations but my English has weaknesses you can understand from my
posts,one time I apologized..
No my problem is not with these punctuations i know them
I said for example,I mean in general
suppose that i have this SIMPL
Yes,you are right I visited the
http://stackoverflow.com/users/218196/felix-kling
and i found my problem and solved it
Thanks Viraj,I'll read it.
hi all,
I want to write an application that can be logged to yahoo.com using https
protocol
Would you please put me some suggestions and advices?
if ($_SERVER['SERVER_PORT'] != 443) {
header("Location: https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
}
I need to create a login page with HTTPS to yahoo
Do I have to have a valid certificate?
I have not trust certification centre, so before anything under HTTPS will
be shown up, the window will come with information: valid certificate: yes,
valid domain: yes, valid authority for SSL key: no.
am I
it is the output:
http://www.yahoo.com/?s=https
can i force it to show me
https://www.yahoo.com
?
Thank you
I want to make a batch file and then exec it in php
I have a problem in batch file
wget have been installed in Yast I want to download a RuleFile from
snort.org
I used this on shell:
$ wget
http://www.snort.org/reg-rules/snortrules-snapshot-2900.tar.gz/c0e9480af637e53c7aae823a40a131edc1343db5\-O
I tried with single quotes,no need to qoutes cause when I enter it with
quotes it tells me:
command not found
BUT when I enter this one:
wget
http://www.snort.org/reg-rules/snortrules-snapshot-2900.tar.gz/c0e9480af637e53c7aae823a40a131edc1343db5\-O
snortrules-snapshot-2900.tar.gz
it tells me:
I also tried Goeff's suggest:
wget
http://www.snort.org/reg-rules/snortrules-snapshot-2900.tar.gz/c0e9480af637e53c7aae823a40a131edc1343db5-Osnortrules-snapshot-2900.tar.gz
here is the output:
Resolving www.snort.org... 68.177.102.20
Connecting to www.snort.org|68.177.102.20|:80... connected.
HTTP
I'm in opensuse I tried wget url for another site it is working
there(without -O)
for example I can have this:
wget http://library.linode.com/assets/695-wget-example.txt
and it is working it will be downloaded on /root
but I'm so confused about snort rules that why I can't download them
I also
Sorry that I disssturbed you
I appologize you,ok I will solve my problem in another mailing list
my application is in php
I simplified using snort by writing an application
but in the updating part of files I wanted to automatically download the
files
which user will have nothing to do in shell j
I logined in there and I used my oinkcode I tried to download just one rule
I mean *.rules
It worked I can download one by one but not the group of them
maybe their files are corrupted
see here that I downloaded:
wget http://cvs.snort.org/viewcvs.cgi/snort/rules/dos.rules
--12:09:32-- http://c
I mean it was my own oinkcode I was a registered user
I appreciate your attention,thank you very much
I have some problems like interdict in my country access that I can't access
the whole sites like this one
I have VPN that I use in my home but not in another locations like here.
I'll try it in another situation
BTW thank you very much Stuart
if the problem is only the assigning it's an example:
in mysql you can have this one:
create table store_list(id_markets int auto_increment,store_type int,primary
key(id_markets));
and for page this one:
Store
store type
corporate
standard
ID:
also I didn't understand your code that y
you didn't set the $message
for example here that you mentioned:
You have successfuly been logged in. You can now access
the advanced area.
change it to $message="You have successfuly been logged in. You can now
access the advanced area";
hope it will help.
http://www.php.net/manual/en/security.database.sql-injection.php
http://www.php.net/manual/en/security.database.storage.php
did you try it in shell? or just You tried it in PHP?
If you want to execute shell commands as root theres another solution too
try this:
shell_exec('sudo -u root ls -l /var/tmp')
but the solution Of shawn is better then it will not needed to set it again
in another commands
also by gcc you can use code it and run the gcc in shell
I like this one:
setfacl -m u:wwwrun:rw the path that you would like
for permissions you can set it for the folders you have then run this
compiler it will make an executable file you can give a name to them by -o
'r' and 'w' are for read
Arthur would you please explain it in more details?
Bulint clear private data or cookies maybe your browser stores something and
can't act for this clear them and then try and tell us the result
2011/7/28 Bulent Malik
> **
>
>
>
> >> did you try it in shell? or just You tried it in PHP?
>
> Yeah, I tried it on shell and it works on it. Also if
another point: I think you tried it in shell as a root but in browser it
can't execute it as a root again I agree with Shawn it is from permission
try the command that I told you I mean edit the command and then run it in
browser
did you run phpinfo()?
in previous pages you must have a login page and in login page you must
store the username and then in next steps you have username in
$_SESSION['user']
now if it is not your problem then what is the problem?
you must check setting your session with this one:
if(isset($_SESSION['user']))
{
// Identifying the user
$user = $_SESSION['user'];
// Information for the user.
}
tell me what you have done in login page?
did you set the
?
in this line password='$_POST[pass]'";
you have error change it to password='$_POST['pass']'";
1 - 100 of 147 matches
Mail list logo